-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
Description
I touch a .vim-template:.md template file and want to expand %FILE% in file start, then I touch a new md file
:new 2.66.md
I found %FILIE% expanded to 2 instead of 2.66
I check the source
https://github.com/aperezdc/vim-template/blob/master/plugin/templates.vim#L344-L367
why L344 code use :r 3 times
let l:filen = expand("%:t:r:r:r")
kevinstadler