chore: lsp diagnostics setup

This commit is contained in:
kiyan
2021-09-26 11:56:44 +02:00
parent 0ca87178b6
commit 1edebb7894
5 changed files with 20 additions and 14 deletions

View File

@@ -74,6 +74,7 @@ function.
open_on_tab = false,
hijack_cursor = false,
update_cwd = false,
lsp_diagnostics = false,
update_focused_file = {
enable = false,
update_cwd = false,
@@ -159,6 +160,10 @@ Here is a list of the options available in the setup call:
type: `{string}`
default: `{}`
- |lsp_diagnostics|: show lsp diagnostics in the signcolumn
type: `boolean`
default: false
==============================================================================
OPTIONS *nvim-tree-options*
@@ -317,12 +322,6 @@ Can be 0 or 1. When 1, appends a trailing slash to folder names.
Can be 0 or 1. When 1, folders that contain only one folder are grouped
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 signcolumn
of the tree highlighted by diagnostic severity.
Code will be executed on `LspDiagnosticsChanged`. 0 by default.
|g:nvim_tree_special_files| *g:nvim_tree_special_files*
A list of filenames that gets highlighted with `NvimTreeSpecialFile`.