Adding new stuff
This commit is contained in:
parent
a1687a2e5b
commit
f8f54ab17a
1580 changed files with 205558 additions and 0 deletions
13
bundle/xptemplate/autoload/xpt/option/cwd_snippet.vim
Normal file
13
bundle/xptemplate/autoload/xpt/option/cwd_snippet.vim
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
exec xpt#once#init
|
||||
let s:oldcpo = &cpo
|
||||
set cpo-=< cpo+=B
|
||||
call XPT#default('g:xptemplate_cwd_snippet', 0)
|
||||
augroup XPT_CWD_SNIPPET
|
||||
au!
|
||||
if g:xptemplate_cwd_snippet == 1
|
||||
au BufEnter * call xpt#cwd#snpt#load()
|
||||
au FileType * call xpt#cwd#snpt#reload()
|
||||
au BufUnload * call xpt#cwd#snpt#clearFlag()
|
||||
endif
|
||||
augroup END
|
||||
let &cpo = s:oldcpo
|
||||
Loading…
Add table
Add a link
Reference in a new issue