@@ -10,6 +10,7 @@ CONTENTS *nvim-tree*
10
10
2.1 Quickstart: Setup | nvim-tree-quickstart-setup |
11
11
2.2 Quickstart: Help | nvim-tree-quickstart-help |
12
12
2.3 Quickstart: Custom Mappings | nvim-tree-quickstart-custom-mappings |
13
+ 2.4 Quickstart: Highlight | nvim-tree-quickstart-highlight |
13
14
3. Commands | nvim-tree-commands |
14
15
4. Setup | nvim-tree-setup |
15
16
5. Opts | nvim-tree-opts |
@@ -43,6 +44,7 @@ CONTENTS *nvim-tree*
43
44
6.7 API Marks | nvim-tree-api.marks |
44
45
6.8 API Config | nvim-tree-api.config |
45
46
6.9 API Commands | nvim-tree-api.commands |
47
+ 6.10 API Diagnostics | nvim-tree-api.diagnostics |
46
48
7. Mappings | nvim-tree-mappings |
47
49
7.1 Mappings: Default | nvim-tree-mappings-default |
48
50
8. Highlight | nvim-tree-highlight |
@@ -230,6 +232,16 @@ via |nvim-tree.on_attach| e.g. >
230
232
---
231
233
}
232
234
<
235
+ ==============================================================================
236
+ 2.4 QUICKSTART: HIGHLIGHT *nvim-tree-quickstart-highlight*
237
+
238
+ Run | :NvimTreeHiTest | to show all the highlights that nvim-tree uses.
239
+
240
+ They can be customised before or after setup is called and will be immediately
241
+ applied at runtime.
242
+
243
+ See | nvim-tree-highlight | for details.
244
+
233
245
==============================================================================
234
246
3. COMMANDS *nvim-tree-commands*
235
247
@@ -324,6 +336,14 @@ via |nvim-tree.on_attach| e.g. >
324
336
325
337
Calls: `api.tree.collapse_all (true)`
326
338
339
+ *:NvimTreeHiTest*
340
+
341
+ Show nvim-tree highlight groups similar to `:so $VIMRUNTIME/syntax/hitest.vim`
342
+
343
+ See | nvim-tree-api.diagnostics.hi_test() |
344
+
345
+ Calls: `api.diagnostics.hi_test ()`
346
+
327
347
==============================================================================
328
348
4. SETUP *nvim-tree-setup*
329
349
@@ -2077,7 +2097,7 @@ config.mappings.get_keymap_default()
2077
2097
(table) as per | nvim_buf_get_keymap() |
2078
2098
2079
2099
==============================================================================
2080
- 6.8 API COMMANDS *nvim-tree-api.commands*
2100
+ 6.9 API COMMANDS *nvim-tree-api.commands*
2081
2101
2082
2102
commands.get() *nvim-tree-api.commands.get()*
2083
2103
Retrieve all commands, see | nvim-tree-commands |
@@ -2088,6 +2108,15 @@ commands.get() *nvim-tree-api.commands.get()*
2088
2108
• {command} (function)
2089
2109
• {opts} (table)
2090
2110
2111
+ ==============================================================================
2112
+ 6.10 DIAGNOSTICS *nvim-tree-api.diagnostics*
2113
+
2114
+ diagnostics.hi_test() *nvim-tree-api.diagnostics.hi_test()*
2115
+ Open a new buffer displaying all nvim-tree highlight groups, their link
2116
+ chain and concrete definition.
2117
+
2118
+ Similar to `:so $VIMRUNTIME/syntax/hitest.vim` as per | :highlight |
2119
+
2091
2120
==============================================================================
2092
2121
7. MAPPINGS *nvim-tree-mappings*
2093
2122
@@ -2253,7 +2282,9 @@ Example |:highlight| >
2253
2282
It is recommended to enable 'termguicolors' for the more pleasant 24-bit
2254
2283
colours.
2255
2284
2256
- To view the active highlight groups run `:so $VIMRUNTIME/syntax/hitest.vim`
2285
+ To view the nvim-tree highlight groups run | :NvimTreeHiTest |
2286
+
2287
+ To view all active highlight groups run `:so $VIMRUNTIME/syntax/hitest.vim`
2257
2288
as per | :highlight |
2258
2289
2259
2290
The `* HL` groups are additive as per | nvim-tree-opts-renderer | precedence.
0 commit comments