We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
:r
let l:filen = expand("%:t:r:r:r")
The text was updated successfully, but these errors were encountered:
This is due to commit 1a366e9 (see PR #56). I am not sure if we can fix this issue in a sane way without reverting that.
@jagu-sayan: Any thoughts on this?
Sorry, something went wrong.
Merge pull request #2 from kevinstadler/master
2f30167
Stop %FILE% from having non-template extensions removed (fixes aperezdc#116)
No branches or pull requests
I touch a .vim-template:.md template file and want to expand %FILE% in file start, then I touch a new md file
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 timesThe text was updated successfully, but these errors were encountered: