Skip to content

Commit 72f3cdb

Browse files
committed
fix(#2415): disambiguate highlight groups, see :help nvim-tree-highlight-overhaul
1 parent aca63ca commit 72f3cdb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/nvim-tree-lua.txt

+9-1
Original file line numberDiff line numberDiff line change
@@ -2240,11 +2240,19 @@ groups.
22402240
Example |:highlight| >
22412241
:hi NvimTreeSymlink guifg=blue gui=bold,underline
22422242
<
2243-
It is recommended to enable 'termguicolors' for the more pleasant 24-bit colours.
2243+
It is recommended to enable 'termguicolors' for the more pleasant 24-bit
2244+
colours.
22442245

22452246
To view the active highlight groups run `:so $VIMRUNTIME/syntax/hitest.vim`
22462247
as per |:highlight|
22472248

2249+
The `*HL` groups are additive as per |nvim-tree-opts-renderer| precedence.
2250+
Only present attributes will clobber each other.
2251+
In this example a modified, opened file will have magenta text, with cyan
2252+
squigglies: >
2253+
:hi NvimTreeOpenedHL guifg=magenta guisp=red gui=underline
2254+
:hi NvimTreeModifiedFileHL guisp=cyan gui=undercurl
2255+
<
22482256
Default linked group or definition follows name.
22492257

22502258
Standard: >

0 commit comments

Comments
 (0)