Compare commits
2 Commits
8233320d90
...
04f7b17fd5
Author | SHA1 | Date |
---|---|---|
|
04f7b17fd5 | |
|
c3f37295e6 |
|
@ -4,3 +4,9 @@ $4
|
||||||
`!p snip.rv = "endsnippet"`
|
`!p snip.rv = "endsnippet"`
|
||||||
$0
|
$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet helloworld "A simple hello world snippet" b
|
||||||
|
${0:`!p
|
||||||
|
if not snip.c:
|
||||||
|
snip.rv = f'snippet helloworld "A simple hello world snippet" b\n{t[0]}\nendsnippet'`}
|
||||||
|
endsnippet
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
snippet tg "automated tag insertion" b
|
snippet << "automated tag insertion" A
|
||||||
<${1:tag}>
|
<${1:tag}>
|
||||||
$2
|
$2
|
||||||
</${1/(\w+).*/$1/}>$0
|
</${1/(\w+).*/$1/}>$0
|
||||||
|
|
Loading…
Reference in New Issue