Skip to content

Commit 0f2cda6

Browse files
committed
docs: add missing live filter luadocs
1 parent e6374ab commit 0f2cda6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

lua/nvim-tree/explorer/init.lua

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ M.reload = require("nvim-tree.explorer.reload").reload
1616
---@field absolute_path string
1717
---@field nodes Node[]
1818
---@field open boolean
19+
---@field filters Filters
20+
---@field live_filter LiveFilter
21+
---@field sorters Sorter
1922
---@field marks Marks
2023

2124
local Explorer = {}

lua/nvim-tree/explorer/live-filter.lua

+7
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ local view = require "nvim-tree.view"
22
local utils = require "nvim-tree.utils"
33
local Iterator = require "nvim-tree.iterators.node-iterator"
44

5+
---@class LiveFilter
6+
---@field explorer Explorer
7+
---@field prefix string
8+
---@field always_show_folders boolean
9+
---@field filter string
510
local LiveFilter = {}
611

12+
---@param opts table
13+
---@param explorer Explorer
714
function LiveFilter:new(opts, explorer)
815
local o = {
916
explorer = explorer,

0 commit comments

Comments
 (0)