aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-09-17 16:56:45 -0400
committerGitHub <noreply@github.com>2026-09-17 16:56:45 -0400
commit6ad6dcd5d4ca2cbe28de8ea5ffe77cfee40a7004 (patch)
tree321be87303392ebcaa9f9f985373c8aa53772fdc /runtime/lua/vim/provider/python.lua
parentd1fd8158de63107d2ada9f69c1a491d76edfc9aa (diff)
downloadrneovim-6ad6dcd5d4ca2cbe28de8ea5ffe77cfee40a7004.tar.gz
rneovim-6ad6dcd5d4ca2cbe28de8ea5ffe77cfee40a7004.tar.bz2
rneovim-6ad6dcd5d4ca2cbe28de8ea5ffe77cfee40a7004.zip
fix(filetype): empty 'filetype' skips :setfiletype #41958
Problem: After `:restart` a restored buffer can have an empty 'filetype'. Lazy LSP setup during the read replays FileType via `:doautoall`, which sets `did_filetype` even though `filetype=''`. :e foo.md :restart :set ft? " filetype= Solution: Set `did_filetype` only if 'filetype' is non-empty.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions