mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
Use pattern matching instead, as fnamemodify() with :e produces an empty string when the file name only has an extension, leading to differences in behavior from Vim. Related #16955 #27972