Skip to content

Commit fdba900

Browse files
committed
docs(#3088): extract api/health.lua, tidy formatting
1 parent 052d39f commit fdba900

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

doc/nvim-tree-lua.txt

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ See |nvim-tree-highlight-groups| for details.
251251
==============================================================================
252252
Commands *nvim-tree-commands*
253253

254+
TODO #3088 clean up descriptions and render call as Lua.
255+
254256
*:NvimTreeOpen*
255257

256258
Opens the tree. See |nvim_tree.api.tree.open()|
@@ -346,9 +348,9 @@ Commands *nvim-tree-commands*
346348

347349
Show nvim-tree highlight groups similar to `:so $VIMRUNTIME/syntax/hitest.vim`
348350

349-
See |nvim-tree-api.diagnostics.hi_test()|
351+
See |nvim_tree.api.health.hi_test()|
350352

351-
Calls: `api.diagnostics.hi_test()`
353+
Calls: `api.health.hi_test()`
352354

353355
==============================================================================
354356
Setup *nvim-tree-setup*
@@ -1140,15 +1142,6 @@ commands.get() *nvim-tree-api.commands.get()*
11401142
{command} (function)
11411143
{opts} (table)
11421144

1143-
==============================================================================
1144-
API: Diagnostics *nvim-tree-api.diagnostics*
1145-
1146-
diagnostics.hi_test() *nvim-tree-api.diagnostics.hi_test()*
1147-
Open a new buffer displaying all nvim-tree highlight groups, their link
1148-
chain and concrete definition.
1149-
1150-
Similar to `:so $VIMRUNTIME/syntax/hitest.vim` as per |:highlight|
1151-
11521145
==============================================================================
11531146
Mappings *nvim-tree-mappings*
11541147

@@ -1843,6 +1836,8 @@ continue to be available.
18431836
`api.config.mappings.get_keymap_default` |nvim_tree.api.map.get_keymap_default()|
18441837
`api.config.mappings.default_on_attach` |nvim_tree.api.map.default_on_attach()|
18451838

1839+
`api.diagnostics.hi_test` |nvim_tree.api.health.hi_test()|
1840+
18461841
`api.git.reload` |nvim_tree.api.tree.reload_git()|
18471842

18481843
`api.live_filter.start` |nvim_tree.api.filter.live_filter.start()|
@@ -2913,6 +2908,16 @@ live_filter.start() *nvim_tree.api.filter.live_filter.start()*
29132908
`NvimTreeFilter`
29142909

29152910

2911+
==============================================================================
2912+
Lua module: nvim_tree.api.health *nvim-tree-api-health*
2913+
2914+
hi_test() *nvim_tree.api.health.hi_test()*
2915+
Open a new buffer displaying all nvim-tree highlight groups, their link
2916+
chain and concrete definition.
2917+
2918+
Similar to `:so $VIMRUNTIME/syntax/hitest.vim` as per |:highlight|
2919+
2920+
29162921
==============================================================================
29172922
Lua module: nvim_tree.api.map *nvim-tree-api-map*
29182923

0 commit comments

Comments
 (0)