You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/nvim-tree/_meta/api.lua
-53Lines changed: 0 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -1,59 +1,6 @@
1
1
---@meta
2
2
error("Cannot require a meta file")
3
3
4
-
--
5
-
-- API Options
6
-
--
7
-
8
-
---@class (exact) nvim_tree.api.TreeOpenOpts
9
-
---@fieldpath? string root directory for the tree
10
-
---@fieldcurrent_window? boolean open the tree in the current window
11
-
---@fieldwinid? number open the tree in the specified winid, overrides current_window
12
-
---@fieldfind_file? boolean find the current buffer
13
-
---@fieldupdate_root? boolean requires find_file, see [nvim-tree.update_focused_file.update_root]
14
-
---@fieldfocus? boolean focus the tree when opening, default true
15
-
16
-
---@class (exact) nvim_tree.api.TreeToggleOpts
17
-
---@fieldpath? string root directory for the tree
18
-
---@fieldcurrent_window? boolean open the tree in the current window
19
-
---@fieldwinid? number open the tree in the specified [winid], overrides current_window
20
-
---@fieldfind_file? boolean find the current buffer
21
-
---@fieldupdate_root? boolean requires find_file, see [nvim-tree.update_focused_file.update_root]
22
-
---@fieldfocus? boolean focus the tree when opening, default true
23
-
24
-
---@class (exact) nvim_tree.api.TreeResizeOpts
25
-
---@fieldwidth? string|function|number|table new [nvim-tree.view.width] value
26
-
---@fieldabsolute? number set the width
27
-
---@fieldrelative? number relative width adjustment
28
-
29
-
---@class (exact) nvim_tree.api.TreeFindFileOpts
30
-
---@fieldbuf? string|number absolute/relative path OR bufnr to find
31
-
---@fieldopen? boolean open the tree if necessary
32
-
---@fieldcurrent_window? boolean requires open, open in the current window
33
-
---@fieldwinid? number open the tree in the specified [winid], overrides current_window
34
-
---@fieldupdate_root? boolean see [nvim-tree.update_focused_file.update_root]
35
-
---@fieldfocus? boolean focus the tree
36
-
37
-
---@class (exact) nvim_tree.api.CollapseOpts
38
-
---@fieldkeep_buffers? boolean do not collapse nodes with open buffers
39
-
40
-
---@class (exact) nvim_tree.api.TreeExpandOpts
41
-
---@fieldexpand_until? (fun(expansion_count: integer, node: Node): boolean) Return true if node should be expanded. expansion_count is the total number of folders expanded.
42
-
43
-
---@class (exact) nvim_tree.api.TreeIsVisibleOpts
44
-
---@fieldtabpage? number as per [nvim_get_current_tabpage()]
45
-
---@fieldany_tabpage? boolean visible on any tab, default false
46
-
47
-
---@class (exact) nvim_tree.api.TreeWinIdOpts
48
-
---@fieldtabpage? number tabpage, 0 or nil for current, default nil
49
-
50
-
---@class (exact) nvim_tree.api.NodeEditOpts
51
-
---@fieldquit_on_open? boolean quits the tree when opening the file
52
-
---@fieldfocus? boolean keep focus in the tree when opening the file
53
-
54
-
---@class (exact) nvim_tree.api.NodeBufferOpts
55
-
---@fieldforce? boolean delete/wipe even if buffer is modified, default false
0 commit comments