add better lsp diagnostic integration

This commit is contained in:
kiyan
2021-04-16 00:03:56 +02:00
parent 75338221b0
commit b5ef2fb7f8
4 changed files with 55 additions and 26 deletions

View File

@@ -227,8 +227,8 @@ together. 0 by default.
|g:nvim_tree_lsp_diagnostics| *g:nvim_tree_lsp_diagnostics*
Can be 0 or 1. When 1, will show nvim-lsp diagnostics in the tree
by highlighting filenames with `NvimTreeLspDiagnostics`.
Can be 0 or 1. When 1, will show nvim-lsp diagnostics in the signcolumn
of the tree highlighted by diagnostic severity.
Code will be executed on `BufWritePost`. 0 by default.
==============================================================================
@@ -373,7 +373,11 @@ NvimTreeSpecialFile
NvimTreeImageFile
NvimTreeMarkdownFile
NvimTreeIndentMarker
NvimTreeLspDiagnostics
LspDiagnosticsError
LspDiagnosticsWarning
LspDiagnosticsInformation
LspDiagnosticsHint
NvimTreeLicenseIcon
NvimTreeYamlIcon