@@ -10,6 +10,7 @@ CONTENTS *nvim-tree*
1010 2.1 Quickstart: Setup | nvim-tree-quickstart-setup |
1111 2.2 Quickstart: Help | nvim-tree-quickstart-help |
1212 2.3 Quickstart: Custom Mappings | nvim-tree-quickstart-custom-mappings |
13+ 2.4 Quickstart: Highlight | nvim-tree-quickstart-highlight |
1314 3. Commands | nvim-tree-commands |
1415 4. Setup | nvim-tree-setup |
1516 5. Opts | nvim-tree-opts |
@@ -43,6 +44,7 @@ CONTENTS *nvim-tree*
4344 6.7 API Marks | nvim-tree-api.marks |
4445 6.8 API Config | nvim-tree-api.config |
4546 6.9 API Commands | nvim-tree-api.commands |
47+ 6.10 API Diagnostics | nvim-tree-api.diagnostics |
4648 7. Mappings | nvim-tree-mappings |
4749 7.1 Mappings: Default | nvim-tree-mappings-default |
4850 8. Highlight | nvim-tree-highlight |
@@ -230,6 +232,16 @@ via |nvim-tree.on_attach| e.g. >
230232 ---
231233 }
232234<
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+
233245==============================================================================
234246 3. COMMANDS *nvim-tree-commands*
235247
@@ -324,6 +336,14 @@ via |nvim-tree.on_attach| e.g. >
324336
325337 Calls: `api.tree.collapse_all (true)`
326338
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+
327347==============================================================================
328348 4. SETUP *nvim-tree-setup*
329349
@@ -2077,7 +2097,7 @@ config.mappings.get_keymap_default()
20772097 (table) as per | nvim_buf_get_keymap() |
20782098
20792099==============================================================================
2080- 6.8 API COMMANDS *nvim-tree-api.commands*
2100+ 6.9 API COMMANDS *nvim-tree-api.commands*
20812101
20822102commands.get() *nvim-tree-api.commands.get()*
20832103 Retrieve all commands, see | nvim-tree-commands |
@@ -2088,6 +2108,15 @@ commands.get() *nvim-tree-api.commands.get()*
20882108 • {command} (function)
20892109 • {opts} (table)
20902110
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+
20912120==============================================================================
20922121 7. MAPPINGS *nvim-tree-mappings*
20932122
@@ -2253,7 +2282,9 @@ Example |:highlight| >
22532282It is recommended to enable 'termguicolors' for the more pleasant 24-bit
22542283colours.
22552284
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`
22572288as per | :highlight |
22582289
22592290The `* HL` groups are additive as per | nvim-tree-opts-renderer | precedence.
0 commit comments