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