Add filename snippets for all filetypes
parent
671c8e5575
commit
832620344f
|
@ -0,0 +1,7 @@
|
||||||
|
snippet fne "Filename (+extension)" i
|
||||||
|
`!p snip.rv = snip.fn`
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet fn "Filename basename" i
|
||||||
|
`!p snip.rv = snip.basename`
|
||||||
|
endsnippet
|
|
@ -638,10 +638,6 @@ 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