feat(#1389): add git.show_on_dirs (#1390)

This commit is contained in:
Alexander Courtis
2022-07-03 19:57:12 +10:00
committed by GitHub
parent 80d4f28383
commit 736cc843e1
4 changed files with 22 additions and 4 deletions

View File

@@ -276,6 +276,7 @@ Subsequent calls to setup will replace the previous configuration.
git = {
enable = true,
ignore = true,
show_on_dirs = true,
timeout = 400,
},
actions = {
@@ -464,8 +465,7 @@ Show LSP and COC diagnostics in the signcolumn
Type: `boolean`, Default: `false`
*nvim-tree.diagnostics.show_on_dirs*
If the node with diagnostic is not visible, then show diagnostic in the
parent directory.
Show diagnostic icons on parent directories.
Type: `boolean`, Default: `false`
*nvim-tree.diagnostics.icons*
@@ -491,6 +491,10 @@ Git integration with icons and colors.
Toggle via the `toggle_git_ignored` action, default mapping `I`.
Type: `boolean`, Default: `true`
*nvim-tree.git.show_on_dirs*
Show status icons of children when directory itself has no status icon.
Type: `boolean`, Default: `true`
*nvim-tree.git.timeout*
Kills the git process after some time if it takes too long.
Type: `number`, Default: `400` (ms)