Skip to content

Commit ede43ed

Browse files
committed
docs: update help with new API commands
1 parent 199c0c0 commit ede43ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/nvim-tree-lua.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2164,6 +2164,12 @@ node.run.cmd({node}) *nvim-tree-api.node.run.cmd()*
21642164
node.run.system({node}) *nvim-tree-api.node.run.system()*
21652165
Execute |nvim-tree.system_open|
21662166

2167+
node.buffer.delete({node}) *nvim-tree-api.node.buffer.delete()*
2168+
Deletes node's related buffer.
2169+
2170+
node.buffer.wipe({node}) *nvim-tree-api.node.buffer.wipe()*
2171+
Same as |api.node.buffer.delete()|, but runs :bwipe instead of :bdelete.
2172+
21672173
==============================================================================
21682174
6.4 API GIT *nvim-tree-api.git*
21692175

@@ -3178,6 +3184,8 @@ highlight group is not, hard linking as follows: >
31783184
|nvim-tree-api.marks.navigate.prev()|
31793185
|nvim-tree-api.marks.navigate.select()|
31803186
|nvim-tree-api.marks.toggle()|
3187+
|nvim-tree-api.node.buffer.delete()|
3188+
|nvim-tree-api.node.buffer.wipe()|
31813189
|nvim-tree-api.node.navigate.diagnostics.next()|
31823190
|nvim-tree-api.node.navigate.diagnostics.next_recursive()|
31833191
|nvim-tree-api.node.navigate.diagnostics.prev()|

0 commit comments

Comments
 (0)