- Telescope Extension - Sort diagnostics by severity
- Toggle with :ErrorLensToggle
- Highlighting function to highlight the full line (Simplified version)
- disable_vt - we disable virtual_text by default an restore the old setting on toggle
- Added a new setup function without parameters to hook into LSP clients' diagnostics.
- Implemented a custom diagnostics handler in the setup function to update highlights.
- The custom diagnostics handler is now attached to Neovim's built-in LSP framework by modifying
vim.lsp.handlers["textDocument/publishDiagnostics"]
.
- Simplified the plugin setup process by removing the need for specifying LSP clients as parameters.
- The custom diagnostics handler now works with all active LSP clients automatically.
- Removed the old setup function that required specifying LSP clients as parameters.