toggle-lsp-diagnostics.nvim
toggle-lsp-diagnostics.nvim copied to clipboard
Neovim plugin for toggling the LSP diagnostics.
Maybe you can think about this realization? https://github.com/neovim/neovim/issues/14825#issuecomment-1196644699 https://github.com/neovim/neovim/pull/15134/files#diff-2c5241b87ba4cc10dd6d1822a2cfa718b1ea523bb9781da4f92585aff7f6b01fR1299
``` E5108: Error executing lua ...ggle-lsp-diagnostics.nvim/lua/toggle_lsp_diagnostics.lua:44: attempt to index a nil value stack traceback: ...ggle-lsp-diagnostics.nvim/lua/toggle_lsp_diagnostics.lua:44: in function 'current_settings' ...ggle-lsp-diagnostics.nvim/lua/toggle_lsp_diagnostics.lua:133: in function 'configure_diagnostics' ...ggle-lsp-diagnostics.nvim/lua/toggle_lsp_diagnostics.lua:57: in function 'turn_off_diagnostics' [string ":lua"]:1: in main...
Default config, LSP attached and operational: ``` E5108: Error executing lua ...ggle-lsp-diagnostics.nvim/lua/toggle_lsp_diagnostics.lua:90: attempt to index a nil value stack traceback: ...ggle-lsp-diagnostics.nvim/lua/toggle_lsp_diagnostics.lua:90: in function 'toggle_diagnostic' ...ggle-lsp-diagnostics.nvim/lua/toggle_lsp_diagnostics.lua:109: in function 'toggle_virtual_text' [string ":lua"]:1:...