Adding new stuff
This commit is contained in:
parent
a1687a2e5b
commit
f8f54ab17a
1580 changed files with 205558 additions and 0 deletions
23
bundle/xptemplate/ftplugin/_loops/java.for.like.xpt.vim
Normal file
23
bundle/xptemplate/ftplugin/_loops/java.for.like.xpt.vim
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
XPTemplate priority=like-
|
||||
|
||||
" containers
|
||||
let s:f = g:XPTfuncs()
|
||||
|
||||
XPTvar $TRUE true
|
||||
XPTvar $FALSE false
|
||||
XPTvar $NULL null
|
||||
XPTvar $BRif
|
||||
XPTvar $VOID_LINE /* void */;
|
||||
|
||||
" ================================= Snippets ===================================
|
||||
|
||||
XPT for " for i++
|
||||
for`$SPcmd^(`$SParg^`int^ `i^`$SPop^=`$SPop^`0^; `i^`$SPop^<`$SPop^`len^; ++`i^`$SParg^)`$BRloop^{
|
||||
`cursor^
|
||||
}
|
||||
|
||||
XPT forr "for i--
|
||||
for`$SPcmd^(`$SParg^`int^ `i^`$SPop^=`$SPop^`n^; `i^`$SPop^>`=^`$SPop^`end^; --`i^`$SParg^)`$BRloop^{
|
||||
`cursor^
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue