Completion/templating snippets for XPTemplate vim plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

24 lines
449 B

"
"
XPTemplate priority=personal+
XPT key hidden " :key => val
XSET val=Echo('')
`$_xSnipName^ => `val^
XPT :cols synonym=:rows|:size|:maxsize|:null|:url
`:key:^
XPT :object synonym=:collection|:locals|:layout|:method
`:key:^
XPT :id synonym=:class|:alt|:title|:action|:controller
XSET str='`val^'
`:key({ 'val' : 'str' }):^
XPT :selected synonym=:multipart
XSET bool=true`^
`:key({ 'val' : 'bool' }):^
XPT :html alias=key
XSET val={ `html^ }