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( "" ), ) == 'finish' | finish | endif com! -nargs=* XPTemplateDef call xpt#parser#LoadSnippetToParseList(expand("")) | finish com! -nargs=* XPT call xpt#parser#LoadSnippetToParseList(expand("")) | finish com! -nargs=* XPTvar call xpt#parser#SetVar() com! -nargs=* XPTsnipSet call xpt#parser#SnipSet() com! -nargs=+ XPTinclude call xpt#parser#Include() com! -nargs=+ XPTembed call xpt#parser#Embed() fun! XPTinclude(...) call xpt#parser#Load(a:000,1) endfunction fun! XPTembed(...) call xpt#parser#Load(a:000,0) endfunction let &cpo = s:oldcpo