From bcb969c8692bd79a3b34658436e679f3bf784b92 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Sun, 19 Feb 2023 11:24:35 +1100 Subject: [PATCH] doc(#1997): clarify renderer.highlight_ and correct highlight group names (#2007) --- doc/nvim-tree-lua.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/nvim-tree-lua.txt b/doc/nvim-tree-lua.txt index e2c894d1..0d212c62 100644 --- a/doc/nvim-tree-lua.txt +++ b/doc/nvim-tree-lua.txt @@ -826,17 +826,20 @@ UI rendering setup *nvim-tree.renderer.highlight_git* Enable file highlight for git attributes using `NvimTreeGit*` highlight groups. + Requires |nvim-tree.git.enable| This can be used with or without the icons. Type: `boolean`, Default: `false` *nvim-tree.renderer.highlight_opened_files* - Highlight icons and/or names for opened files. + Highlight icons and/or names for opened files using the + `NvimTreeOpenedFile` highlight group. Value can be `"none"`, `"icon"`, `"name"` or `"all"`. Type: `string`, Default: `"none"` *nvim-tree.renderer.highlight_modified* - Highlight icons and/or names for modified files using `NvimTreeModified` - highlight groups. + Highlight icons and/or names for modified files using the + `NvimTreeModifiedFile` highlight group. + Requires |nvim-tree.modified.enable| Value can be `"none"`, `"icon"`, `"name"` or `"all"` This can be used with or without the icons. Type: `string`, Default `"none"`