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

38 lines
681 B
VimL

XPTemplate priority=like
let s:f = g:XPTfuncs()
XPTvar $TRUE 1
XPTvar $FALSE 0
XPTvar $NULL NULL
XPTvar $UNDEFINED NULL
XPTvar $VOID_LINE /* void */;
XPTvar $BRif \n
XPTinclude
\ _common/common
" ========================= Function and Variables =============================
" ================================= Snippets ===================================
XPT if hint=(if\ (then)\ (else))
(if [`condition^]
(`then^)
`else...{{^(`cursor^)`}}^)
XPT when hint=(when\ cond\ ..)
(when (`cond^)
(`todo0^)` `...^
(`todon^)` `...^)
XPT unless hint=(unless\ cond\ ..)
(unless (`cond^)
(`todo0^)` `...^
(`todon^)` `...^)