File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ M.reload = require("nvim-tree.explorer.reload").reload
16
16
--- @field absolute_path string
17
17
--- @field nodes Node[]
18
18
--- @field open boolean
19
+ --- @field filters Filters
20
+ --- @field live_filter LiveFilter
21
+ --- @field sorters Sorter
19
22
--- @field marks Marks
20
23
21
24
local Explorer = {}
Original file line number Diff line number Diff line change @@ -2,8 +2,15 @@ local view = require "nvim-tree.view"
2
2
local utils = require " nvim-tree.utils"
3
3
local Iterator = require " nvim-tree.iterators.node-iterator"
4
4
5
+ --- @class LiveFilter
6
+ --- @field explorer Explorer
7
+ --- @field prefix string
8
+ --- @field always_show_folders boolean
9
+ --- @field filter string
5
10
local LiveFilter = {}
6
11
12
+ --- @param opts table
13
+ --- @param explorer Explorer
7
14
function LiveFilter :new (opts , explorer )
8
15
local o = {
9
16
explorer = explorer ,
You can’t perform that action at this time.
0 commit comments