mirror of
https://github.com/neovim/neovim.git
synced 2026-06-16 08:41:15 +00:00
Problem:
fnamemodify with the :r flag will not strip extensions if the filename
starts with a ".". This means that files named ".in" could cause an
infinite loop.
Solution:
Add early return if the filename was not changed
(cherry picked from commit 032e024f8a)