Use regex for filename basename snippet
parent
72629f5b98
commit
ed44636981
|
@ -2,6 +2,6 @@ snippet fne "Filename (+extension)" i
|
||||||
`!p snip.rv = snip.fn`
|
`!p snip.rv = snip.fn`
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet fn "Filename basename" i
|
# snippet ^fn "Filename basename" ir
|
||||||
`!p snip.rv = snip.basename`
|
# `!p snip.rv = snip.basename`
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
Loading…
Reference in New Issue