@@ -291,6 +291,10 @@ Subsequent calls to setup will replace the previous configuration.
291
291
enable = false,
292
292
show_on_dirs = false,
293
293
debounce_delay = 50,
294
+ severity = {
295
+ min = vim.diagnostic.severity.HINT,
296
+ max = vim.diagnostic.severity.ERROR
297
+ },
294
298
icons = {
295
299
hint = "",
296
300
info = "",
@@ -365,6 +369,9 @@ Subsequent calls to setup will replace the previous configuration.
365
369
ignore = {},
366
370
},
367
371
},
372
+ notify = {
373
+ threshold = vim.log.levels.INFO,
374
+ },
368
375
log = {
369
376
enable = false,
370
377
truncate = false,
@@ -379,9 +386,6 @@ Subsequent calls to setup will replace the previous configuration.
379
386
watcher = false,
380
387
},
381
388
},
382
- notify = {
383
- threshold = vim.log.levels.INFO,
384
- },
385
389
} -- END_DEFAULT_OPTS
386
390
<
387
391
@@ -532,6 +536,13 @@ Configuration options for the system open command.
532
536
*nvim-tree.diagnostics*
533
537
Show LSP and COC diagnostics in the signcolumn
534
538
539
+ `NOTE` : it will use the default diagnostic color groups to highlight the signs.
540
+ If you wish to customize, you can override these groups:
541
+ - `NvimTreeLspDiagnosticsError`
542
+ - `NvimTreeLspDiagnosticsWarning`
543
+ - `NvimTreeLspDiagnosticsInformation`
544
+ - `NvimTreeLspDiagnosticsHint`
545
+
535
546
*nvim-tree.diagnostics.enable*
536
547
Enable/disable the feature.
537
548
Type: `boolean ` , Default: `false`
@@ -548,12 +559,16 @@ Show LSP and COC diagnostics in the signcolumn
548
559
Icons for diagnostic severity.
549
560
Type: `table` , Default: `{ hint = "", info = "", warning = "", error = "" }`
550
561
551
- `NOTE` : it will use the default diagnostic color groups to highlight the signs.
552
- If you wish to customize, you can override these groups:
553
- - `NvimTreeLspDiagnosticsError`
554
- - `NvimTreeLspDiagnosticsWarning`
555
- - `NvimTreeLspDiagnosticsInformation`
556
- - `NvimTreeLspDiagnosticsHint`
562
+ *nvim-tree.diagnostics.severity*
563
+ Severity for which the diagnostics will be displayed. See | diagnostic-severity |
564
+
565
+ *nvim-tree.diagnostics.severity.min*
566
+ Minimum severity.
567
+ Type: | vim.diagnostic.severity | , Default: `vim .diagnostic.severity.HINT`
568
+
569
+ *nvim-tree.diagnostics.severity.max*
570
+ Maximum severity.
571
+ Type: | vim.diagnostic.severity | , Default: `vim .diagnostic.severity.ERROR `
557
572
558
573
*nvim-tree.git*
559
574
Git integration with icons and colors.
0 commit comments