2014-03-11 16:10:50 -04:00
|
|
|
priority -50
|
2012-08-16 23:41:25 -04:00
|
|
|
|
|
|
|
# We use a little hack so that the snippet is expanded
|
|
|
|
# and parsed correctly
|
2017-03-07 12:04:28 -05:00
|
|
|
snippet usnip "Ultisnips snippet definition" b
|
2014-03-11 16:10:50 -04:00
|
|
|
`!p snip.rv = "snippet"` ${1:Tab_trigger} "${2:Description}" ${3:b}
|
2017-03-07 12:04:28 -05:00
|
|
|
${0:${VISUAL}}
|
2012-08-16 23:41:25 -04:00
|
|
|
`!p snip.rv = "endsnippet"`
|
|
|
|
endsnippet
|
|
|
|
|
2014-03-11 16:10:50 -04:00
|
|
|
snippet global "Global snippet" b
|
2012-08-16 23:41:25 -04:00
|
|
|
`!p snip.rv = "global"` !p
|
2017-03-07 12:04:28 -05:00
|
|
|
${0:${VISUAL}}
|
2012-08-16 23:41:25 -04:00
|
|
|
`!p snip.rv = "endglobal"`
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet vis "${VISUAL}" i
|
|
|
|
\$\{VISUAL${1:${2:default}${3:/transform/}}\}
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
# vim:ft=snippets:
|