aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-26 13:31:37 +0800
committerGitHub <noreply@github.com>2024-03-26 13:31:37 +0800
commitd6f406db4527deb693f0aef90316c25d846f5195 (patch)
treec70e3eef1aa8bc0347e6cb6bba4c83edda61ab7e /runtime/lua/vim/_meta/options.lua
parent00e71d3da3464df2b4c4f33bfd5fac6d88e7c867 (diff)
downloadrneovim-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