Skip to content

Commit bcb969c

Browse files
authored
doc(#1997): clarify renderer.highlight_ and correct highlight group names (#2007)
1 parent 08a0aa1 commit bcb969c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/nvim-tree-lua.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -826,17 +826,20 @@ UI rendering setup
826826

827827
*nvim-tree.renderer.highlight_git*
828828
Enable file highlight for git attributes using `NvimTreeGit*` highlight groups.
829+
Requires |nvim-tree.git.enable|
829830
This can be used with or without the icons.
830831
Type: `boolean`, Default: `false`
831832

832833
*nvim-tree.renderer.highlight_opened_files*
833-
Highlight icons and/or names for opened files.
834+
Highlight icons and/or names for opened files using the
835+
`NvimTreeOpenedFile` highlight group.
834836
Value can be `"none"`, `"icon"`, `"name"` or `"all"`.
835837
Type: `string`, Default: `"none"`
836838

837839
*nvim-tree.renderer.highlight_modified*
838-
Highlight icons and/or names for modified files using `NvimTreeModified`
839-
highlight groups.
840+
Highlight icons and/or names for modified files using the
841+
`NvimTreeModifiedFile` highlight group.
842+
Requires |nvim-tree.modified.enable|
840843
Value can be `"none"`, `"icon"`, `"name"` or `"all"`
841844
This can be used with or without the icons.
842845
Type: `string`, Default `"none"`

0 commit comments

Comments
 (0)