mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
5e64d65df6
Uses of `getline` in `filetype.lua` currently assume it always returns a string. However, if the buffer is unloaded when filetype detection runs, `getline` returns `nil`. Fixing this prevents errors when filetype detection is run on unloaded buffers. |
||
---|---|---|
.. | ||
vim | ||
health.lua | ||
man.lua |