show diagnostics on parent dirs if nodes with diagnostics are not visible (#862)

This commit is contained in:
Reviakin Evgeny
2021-12-24 13:47:23 +02:00
committed by GitHub
parent bb12c70367
commit 239f2d6fea
3 changed files with 13 additions and 1 deletions

View File

@@ -85,6 +85,7 @@ function.
update_cwd = false,
diagnostics = {
enable = false,
show_on_dirs = false,
icons = {
hint = "",
info = "",
@@ -231,6 +232,11 @@ Here is a list of the options available in the setup call:
type: `boolean`
default: `false`
- diagnostics.show_on_dirs: if the node with diagnostic is not visible,
then show diagnostic in the parent directory
type: `boolean`
default: `false`
- |diagnostics.icons|: icons for diagnostic severity
type: `table`
default: `{ hint = "", info = "", warning = "", error = "" }`