nvim-tree.lua/lua/nvim-tree/renderer/components
Max 96a783fbd6
fix(#2519): Diagnostics Not Updated When Tree Not Visible (#2597)
* fix(#2519): diagnostics overhaul

Signed-off-by: iusmac <iusico.maxim@libero.it>

* fix: Properly filter diagnostics from coc

Also, while we're at it, refactor the lsp function for consistency.
There should be no functional change, just cosmetic.

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Assign diagnostic version per node to reduce overhead

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Require renderer once

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Revert "Require renderer once"

Causes circular requires after the previous commit.

This reverts commit 7413041630.

* Rename `buffer_severity_dict` to `BUFFER_SEVERITY`

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Log diagnostics update properly

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Implement error handling for coc.nvim

Signed-off-by: iusmac <iusico.maxim@libero.it>

* CI style fixes

Signed-off-by: iusmac <iusico.maxim@libero.it>

* Capture `Keyboard interrupt` when handling coc exceptions

Signed-off-by: iusmac <iusico.maxim@libero.it>

* add more doc

---------

Signed-off-by: iusmac <iusico.maxim@libero.it>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-12-30 14:30:07 +11:00
..
bookmarks.lua feat(#2411): add renderer.highlight_bookmarks, renderer.icons.bookmarks_placement (#2412) 2023-09-24 15:07:02 +10:00
diagnostics.lua fix(#2519): Diagnostics Not Updated When Tree Not Visible (#2597) 2023-12-30 14:30:07 +11:00
full-name.lua feat: renderer.full_name includes root node (#2502) 2023-10-30 13:17:33 +11:00
git.lua fix: git highlight for new staged files (#2534) 2023-11-19 14:47:10 +11:00
icons.lua feat(#2369): add full renderer.icons.web_devicons options for file and folder (#2375) 2023-08-26 14:42:44 +10:00
modified.lua feat(#1079): add renderer.highlight_clipboard default name, defaults to undercurls (#2410) 2023-09-17 16:08:04 +10:00
padding.lua chore: stylua column width 120 -> 140 (#2448) 2023-10-08 11:40:58 +11:00