doc(#1997): clarify renderer.highlight_ and correct highlight group names (#2007)

This commit is contained in:
Alexander Courtis 2023-02-19 11:24:35 +11:00 committed by GitHub
parent 08a0aa1a3b
commit bcb969c869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -826,17 +826,20 @@ UI rendering setup
*nvim-tree.renderer.highlight_git* *nvim-tree.renderer.highlight_git*
Enable file highlight for git attributes using `NvimTreeGit*` highlight groups. Enable file highlight for git attributes using `NvimTreeGit*` highlight groups.
Requires |nvim-tree.git.enable|
This can be used with or without the icons. This can be used with or without the icons.
Type: `boolean`, Default: `false` Type: `boolean`, Default: `false`
*nvim-tree.renderer.highlight_opened_files* *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"`. Value can be `"none"`, `"icon"`, `"name"` or `"all"`.
Type: `string`, Default: `"none"` Type: `string`, Default: `"none"`
*nvim-tree.renderer.highlight_modified* *nvim-tree.renderer.highlight_modified*
Highlight icons and/or names for modified files using `NvimTreeModified` Highlight icons and/or names for modified files using the
highlight groups. `NvimTreeModifiedFile` highlight group.
Requires |nvim-tree.modified.enable|
Value can be `"none"`, `"icon"`, `"name"` or `"all"` Value can be `"none"`, `"icon"`, `"name"` or `"all"`
This can be used with or without the icons. This can be used with or without the icons.
Type: `string`, Default `"none"` Type: `string`, Default `"none"`