Add filename snippet
parent
9ba5d6b192
commit
644114263d
|
@ -638,6 +638,10 @@ snippet sketch "Link a sketch" i
|
||||||
[$1](file:///home/h/sketches/$2)
|
[$1](file:///home/h/sketches/$2)
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet fn "Filename"
|
||||||
|
`!p snip.rv = snip.basename`
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet ` "Inline code" i
|
snippet ` "Inline code" i
|
||||||
`$1`$2
|
`$1`$2
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
Loading…
Reference in New Issue