dot_files/vim-plugins/bundle/xptemplate/ftplugin/xptest/xptest.xpt.vim
2017-07-09 00:26:06 +03:00

64 lines
648 B
VimL

XPTemplate priority=lang
let s:f = g:XPTfuncs()
XPTinclude
\ _common/common
fun! s:f.fff()
let v = self.V()
if v == 'aa'
return ''
else
return ', another'
endif
endfunction
XPT aa syn=43w
fjdkls
\XPT
fdskl
..XPT
XPT table alias=_tag
XPT tr alias=_tag
XPT e " tips
#{ `^ }
XPT bb " tips
XSET cursor=123
what `a^ `cursor^
\XPT
..XPT
" XPT jkldsjfksl
XPT q " tips
XSET $a=3
`p`{$a}`p^-`p^
XPT x " tips
XSET $a=3
`p`p`p^-`$a^
XPT t " tips
`:x:^fjkdls
fjksl
fd
..XPT
" XPT aa " paste at end test
" `f^`aa...{{^pp`}}^`l^Echo( Context().history[-1].item.name )^
XPT pp " tips
`...^
- Let's repeat `this^
`...^