mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 22:39:08 +00:00
Passing `nil` is equivalent to passing 0, i.e. it simply uses the current buffer number. This fixes a bug when vim.lsp.diagnostic.disable() is called without arguments.