We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97785a3 commit 52d1d7eCopy full SHA for 52d1d7e
lua/lib/winutils.lua
@@ -13,7 +13,6 @@ local M = {
13
BUF_NAME = 'LuaTree'
14
}
15
16
-
17
function M.get_buf()
18
local regex = '.*'..M.BUF_NAME..'$';
19
lua/tree.lua
@@ -73,7 +73,7 @@ function M.open_file(open_type)
73
local node = tree[tree_index]
74
75
if node.name == '..' then
76
- api.nvim_command('cd ..')
+ api.nvim_command('cd '..node.path..'/..')
77
78
local new_path = get_cwd()
79
if new_path ~= '/' then
0 commit comments