File tree Expand file tree Collapse file tree 3 files changed +19
-13
lines changed
Expand file tree Collapse file tree 3 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 11--- @meta
2- local nvim_tree = { api = { fs = { copy = {} } } }
2+ local nvim_tree = { api = { fs = {} } }
33
44---
55--- Clear the nvim-tree clipboard.
66---
77function nvim_tree .api .fs .clear_clipboard () end
88
9+ nvim_tree .api .fs .copy = {}
10+
911---
1012--- Copy the absolute path to the system clipboard.
1113---
Original file line number Diff line number Diff line change 11--- @meta
2- local nvim_tree = { api = { marks = { bulk = {}, navigate = {}, } } }
2+ local nvim_tree = { api = { marks = {} } }
33
44---
55--- Return the node if it is marked.
@@ -24,6 +24,8 @@ function nvim_tree.api.marks.toggle(node) end
2424---
2525function nvim_tree .api .marks .clear () end
2626
27+ nvim_tree .api .marks .bulk = {}
28+
2729---
2830--- Delete all marked, prompting if [nvim_tree.config.ui.confirm] {remove}
2931---
@@ -39,6 +41,8 @@ function nvim_tree.api.marks.bulk.trash() end
3941---
4042function nvim_tree .api .marks .bulk .move () end
4143
44+ nvim_tree .api .marks .navigate = {}
45+
4246---
4347--- Navigate to the next marked node, wraps.
4448---
Original file line number Diff line number Diff line change 1+ local api = {}
2+
13--- @brief
24--- nvim-tree exposes a public API. This is non breaking, with additions made as necessary.
35---
3537--
3638-- Load the (empty) meta definitions
3739--
38- local api = {
39- commands = require (" nvim-tree._meta.api.commands" ),
40- events = require (" nvim-tree._meta.api.events" ),
41- filter = require (" nvim-tree._meta.api.filter" ),
42- fs = require (" nvim-tree._meta.api.fs" ),
43- health = require (" nvim-tree._meta.api.health" ),
44- map = require (" nvim-tree._meta.api.map" ),
45- marks = require (" nvim-tree._meta.api.marks" ),
46- node = require (" nvim-tree._meta.api.node" ),
47- tree = require (" nvim-tree._meta.api.tree" ),
48- }
40+ api .commands = require (" nvim-tree._meta.api.commands" )
41+ api .events = require (" nvim-tree._meta.api.events" )
42+ api .filter = require (" nvim-tree._meta.api.filter" )
43+ api .fs = require (" nvim-tree._meta.api.fs" )
44+ api .health = require (" nvim-tree._meta.api.health" )
45+ api .map = require (" nvim-tree._meta.api.map" )
46+ api .marks = require (" nvim-tree._meta.api.marks" )
47+ api .node = require (" nvim-tree._meta.api.node" )
48+ api .tree = require (" nvim-tree._meta.api.tree" )
4949
5050
5151--
You can’t perform that action at this time.
0 commit comments