Failing self containing hello world snippet

This commit is contained in:
Yannick Reiß 2024-09-15 21:07:11 +02:00
parent 8233320d90
commit c3f37295e6
1 changed files with 6 additions and 0 deletions

View File

@ -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