mirror of
https://github.com/neovim/neovim.git
synced 2025-12-06 06:32:33 +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.