mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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.