Skip to content

Commit 5585bfd

Browse files
committed
docs(#3241): tidy
1 parent 8785496 commit 5585bfd

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

doc/nvim-tree-lua.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ To view the nvim-tree highlight groups run |:NvimTreeHiTest|
548548
To view all active highlight groups run `:so $VIMRUNTIME/syntax/hitest.vim`
549549
as per |:highlight|
550550

551-
The `*HL` groups are additive according to per |nvim_tree.config.renderer|
551+
The `*HL` groups are additive, following |nvim_tree.config.renderer.decorator|
552552
precedence.
553553
Only present attributes will clobber each other.
554554
In this example a modified, opened file will have magenta text, with cyan
@@ -3385,7 +3385,7 @@ Decorator:icons({node}) *nvim_tree.api.Decorator:icons()*
33853385

33863386

33873387
==============================================================================
3388-
Class: Decorator: example *nvim-tree-class-decorator-example*
3388+
Class: Decorator example *nvim-tree-class-decorator-example*
33893389

33903390
A decorator class for nodes named "example", overriding all builtin decorators
33913391
except for Cut.

lua/nvim-tree/_meta/classes.lua

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
---@meta
22
error("Cannot require a meta file")
33

4-
5-
-- TODO #2688
6-
-- These node subclasses are not ready for public exposure as they are:
7-
-- - not classic classes
8-
-- - only used in a few locations: api.tree.get_nodes and Decorator
9-
104
---
115
---File
126
---

scripts/vimdoc_config.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ local srcs_api = {
6464

6565
---@type Src[]
6666
local srcs_class = {
67-
{ helptag = "nvim-tree-class", section = "Class: Class", path = base .. "classic.lua", },
68-
{ helptag = "nvim-tree-class-decorator", section = "Class: Decorator", path = base .. "_meta/api/decorator.lua", },
69-
{ helptag = "nvim-tree-class-decorator-example", section = "Class: Decorator: example", path = base .. "_meta/api/decorator_example.lua", },
67+
{ helptag = "nvim-tree-class", section = "Class: Class", path = base .. "classic.lua", },
68+
{ helptag = "nvim-tree-class-decorator", section = "Class: Decorator", path = base .. "_meta/api/decorator.lua", },
69+
{ helptag = "nvim-tree-class-decorator-example", section = "Class: Decorator example", path = base .. "_meta/api/decorator_example.lua", },
7070
}
7171

7272
---Map paths to file names

0 commit comments

Comments
 (0)