adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
38
plugins/bundle/xptemplate/ftplugin/cmake/cmake.xpt.vim
Normal file
38
plugins/bundle/xptemplate/ftplugin/cmake/cmake.xpt.vim
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
XPTemplate priority=lang
|
||||
|
||||
XPTinclude
|
||||
\ _common/common
|
||||
|
||||
XPT if " if ( cond )...
|
||||
if ( `cond^ )
|
||||
`cursor^
|
||||
`else...{{^else( `cond^ )
|
||||
`}}^endif( `cond^ )
|
||||
..XPT
|
||||
|
||||
XPT foreach " foreach\(...) ... endofreach\( ... )
|
||||
foreach (`varname^ `collection^)
|
||||
`cursor^
|
||||
endforeach(`varname^)
|
||||
|
||||
XPT set " set\(... ...)
|
||||
set(`varname^ `cursor^)
|
||||
|
||||
XPT msg " message\("...")
|
||||
message("`cursor^")
|
||||
|
||||
XPT function " function\(...) ... endfunction\(...)
|
||||
function(`funcName^ `params^)
|
||||
`cursor^
|
||||
endfunction(`funcName^)
|
||||
|
||||
XPT macro " macro\(...) ... endmacro\(...)
|
||||
macro( `macroName^ `params^ )
|
||||
`cursor^
|
||||
endmacro( `macroName^ )
|
||||
|
||||
XPT while " while\(...) ... endwhile\(...)
|
||||
while( `condition^ )
|
||||
`cursor^
|
||||
enwhile( `condition^ )
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue