adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
22
plugins/bundle/xptemplate/plugin/xptemplate.parser.vim
Normal file
22
plugins/bundle/xptemplate/plugin/xptemplate.parser.vim
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
if exists( "g:__XPTEMPLATE_PARSER_VIM__" ) && g:__XPTEMPLATE_PARSER_VIM__ >= XPT#ver
|
||||
finish
|
||||
endif
|
||||
let g:__XPTEMPLATE_PARSER_VIM__ = XPT#ver
|
||||
let s:oldcpo = &cpo
|
||||
set cpo-=< cpo+=B
|
||||
runtime plugin/xptemplate.conf.vim
|
||||
exec XPT#importConst
|
||||
com! -nargs=* XPTemplate if xpt#parser#InitSnippetFile( expand( "<sfile>" ), <f-args> ) == 'finish' | finish | endif
|
||||
com! -nargs=* XPTemplateDef call xpt#parser#LoadSnippetToParseList(expand("<sfile>")) | finish
|
||||
com! -nargs=* XPT call xpt#parser#LoadSnippetToParseList(expand("<sfile>")) | finish
|
||||
com! -nargs=* XPTvar call xpt#parser#SetVar(<q-args>)
|
||||
com! -nargs=* XPTsnipSet call xpt#parser#SnipSet(<q-args>)
|
||||
com! -nargs=+ XPTinclude call xpt#parser#Include(<f-args>)
|
||||
com! -nargs=+ XPTembed call xpt#parser#Embed(<f-args>)
|
||||
fun! XPTinclude(...)
|
||||
call xpt#parser#Load(a:000,1)
|
||||
endfunction
|
||||
fun! XPTembed(...)
|
||||
call xpt#parser#Load(a:000,0)
|
||||
endfunction
|
||||
let &cpo = s:oldcpo
|
||||
Loading…
Add table
Add a link
Reference in a new issue