Files
neovim/runtime/lua
Justin M. Keyes 6ad6dcd5d4 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.
2026-09-17 16:56:45 -04:00
..
2026-03-16 10:29:58 +01:00