fix(#2954): more efficient LSP updates, increase diagnostics.debounce_delay from 50ms to 500ms (#3007)

* fix(#2954): use LSP diagnostic data deltas from events instead of a full query

* fix(#2954): use LSP diagnostic data deltas from events instead of a full query
This commit is contained in:
Alexander Courtis
2024-11-22 10:12:47 +11:00
committed by GitHub
parent f7c65e11d6
commit 1f3ffd6af1
3 changed files with 63 additions and 48 deletions

View File

@@ -527,7 +527,7 @@ Following is the default configuration. See |nvim-tree-opts| for details. >lua
enable = false,
show_on_dirs = false,
show_on_open_dirs = true,
debounce_delay = 50,
debounce_delay = 500,
severity = {
min = vim.diagnostic.severity.HINT,
max = vim.diagnostic.severity.ERROR,
@@ -1272,7 +1272,7 @@ Enable/disable the feature.
*nvim-tree.diagnostics.debounce_delay*
Idle milliseconds between diagnostic event and update.
Type: `number`, Default: `50` (ms)
Type: `number`, Default: `500` (ms)
*nvim-tree.diagnostics.show_on_dirs*
Show diagnostic icons on parent directories.