Skip to content

Commit 485b0ec

Browse files
committed
fix vinegar example
1 parent dc79eaf commit 485b0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/nvim-tree-lua.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ You can easily implement a toggle using this too:
10921092
local view = require"nvim-tree.view"
10931093
local api = require"nvim-tree.api"
10941094
if view.is_visible() then
1095-
api.close()
1095+
api.tree.close()
10961096
else
10971097
require"nvim-tree".open_replacing_current_buffer()
10981098
end

0 commit comments

Comments
 (0)