mirror of
https://github.com/neovim/neovim.git
synced 2024-12-28 14:31:13 -07:00
1aeb945553
Add two new methods to allow diagnostics to be disabled (and re-enabled) in the current buffer. When diagnostics are disabled they are simply not displayed to the user, but they are still sent by the server and processed by the client. Disabling diagnostics can be helpful in a number of scenarios. For example, if one is working on a buffer with an overwhelming amount of diagnostic warnings it can be helpful to simply disable diagnostics without disabling the LSP client entirely. This also allows users more flexibility on when and how they may want diagnostic information to be displayed. For example, some users may not want to display diagnostic information until after the buffer is first written. |
||
---|---|---|
.. | ||
codelens_spec.lua | ||
diagnostic_spec.lua | ||
handler_spec.lua |