diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-26 13:31:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 13:31:37 +0800 |
commit | d6f406db4527deb693f0aef90316c25d846f5195 (patch) | |
tree | c70e3eef1aa8bc0347e6cb6bba4c83edda61ab7e /runtime/lua/vim/_meta/options.lua | |
parent | 00e71d3da3464df2b4c4f33bfd5fac6d88e7c867 (diff) | |
download | rneovim-d6f406db4527deb693f0aef90316c25d846f5195.tar.gz rneovim-d6f406db4527deb693f0aef90316c25d846f5195.tar.bz2 rneovim-d6f406db4527deb693f0aef90316c25d846f5195.zip |
fix(filetype): don't use fnamemodify() with :e for extension (#27976)
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
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
0 files changed, 0 insertions, 0 deletions