mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +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.