2014-02-26 03:31:33 -05:00
|
|
|
priority -50
|
2013-03-17 15:13:47 -04:00
|
|
|
|
|
|
|
# We use a little hack so that the snippet is expanded
|
|
|
|
# and parsed correctly
|
2014-02-26 03:31:33 -05:00
|
|
|
snippet snip "Snippet definition" b
|
|
|
|
`!p snip.rv = "snippet"` ${1:Tab_trigger} "${2:Description}" ${3:b}
|
2013-03-17 15:13:47 -04:00
|
|
|
$0
|
|
|
|
`!p snip.rv = "endsnippet"`
|
|
|
|
endsnippet
|
|
|
|
|
2014-02-26 03:31:33 -05:00
|
|
|
snippet global "Global snippet" b
|
2013-03-17 15:13:47 -04:00
|
|
|
`!p snip.rv = "global"` !p
|
|
|
|
$0
|
|
|
|
`!p snip.rv = "endglobal"`
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet vis "${VISUAL}" i
|
|
|
|
\$\{VISUAL${1:${2:default}${3:/transform/}}\}
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
# vim:ft=snippets:
|