mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00

Problem: nil error possible if a loaded buffer hasn't been drawn in a window: ```vim lua vim.lsp.document_color.is_enabled() -- Load module badd foo call bufload('foo') colo default ``` Solution: Skip _buf_refresh branch also if bufstates[bufnr] is nil.