File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
--- @meta
2
2
error (" Cannot require a meta file" )
3
3
4
- local nvim_tree = {}
4
+ local nvim_tree = { api = { decorator = {} } }
5
5
6
6
--- Highlight group range as per nvim-tree.renderer.highlight_*
7
7
--- @alias nvim_tree.api.decorator.HighlightRange " none" | " icon" | " name" | " all"
@@ -18,6 +18,11 @@ local nvim_tree = {}
18
18
--- @field protected enabled boolean
19
19
--- @field protected highlight_range nvim_tree.api.decorator.HighlightRange
20
20
--- @field protected icon_placement nvim_tree.api.decorator.IconPlacement
21
+ nvim_tree .api .decorator .UserDecorator = {}
22
+
23
+ --- Create your decorator class
24
+ ---
25
+ function nvim_tree .api .decorator .UserDecorator :extend () end
21
26
22
27
--- Abstract: no-args constructor must be implemented and will be called once per tree render.
23
28
--- Must set all fields.
You can’t perform that action at this time.
0 commit comments