adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
36
plugins/bundle/xptemplate/ftplugin/r/r.xpt.vim
Normal file
36
plugins/bundle/xptemplate/ftplugin/r/r.xpt.vim
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
XPTemplate priority=lang
|
||||
|
||||
let s:f = g:XPTfuncs()
|
||||
|
||||
XPTinclude
|
||||
\ _common/common
|
||||
\ _condition/c.like
|
||||
|
||||
|
||||
XPT for " for (... in ...) { ... }
|
||||
for (`name^ in `vec^)
|
||||
{
|
||||
`cursor^
|
||||
}
|
||||
|
||||
XPT while " while ( ... ) { ... }
|
||||
while ( `cond^ )
|
||||
{
|
||||
`cursor^
|
||||
}
|
||||
|
||||
XPT fun " ... <- function ( ... , ... ) { ... }
|
||||
`funName^ <- function( `args^ )
|
||||
{
|
||||
`cursor^
|
||||
}
|
||||
|
||||
XPT operator " %...% <- function ( ... , ... ) { ... }
|
||||
%`funName^% <- function( `args^ )
|
||||
{
|
||||
`cursor^
|
||||
}
|
||||
|
||||
XPT head " #! /usr/bin/env/Rscript
|
||||
#! /usr/bin/env Rscript
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue