aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/ui
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-23 11:46:23 +0800
committerGitHub <noreply@github.com>2024-03-23 11:46:23 +0800
commit2955c921ceaf5764e8d1592a78370d9ca3a268e2 (patch)
treee70e5a0652b0a035a11129901425a144c679b3a8 /runtime/lua/vim/ui
parenta629888427d7dfd1b45d4cc456f9c6c7a7d5a854 (diff)
downloadrneovim-2955c921ceaf5764e8d1592a78370d9ca3a268e2.tar.gz
rneovim-2955c921ceaf5764e8d1592a78370d9ca3a268e2.tar.bz2
rneovim-2955c921ceaf5764e8d1592a78370d9ca3a268e2.zip
fix(filetype): use unexpanded file name (#27931)
When the edited file is a symlink, the unexpanded file name is needed to to achieve the same behavior as the autocommand pattern matching in Vim. Neither args.file nor args.match are guaranteed to be unexpanded, so use bufname() instead.
Diffstat (limited to 'runtime/lua/vim/ui')
0 files changed, 0 insertions, 0 deletions