Fix lua_tree_quit_on_open configuration option
This commit is contained in:
parent
ebf6f2a21a
commit
521f2cfb5c
@ -202,7 +202,7 @@ function M.open_file(mode, filename)
|
||||
api.nvim_command('vertical resize '..M.Tree.win_width)
|
||||
M.win_focus(cur_win)
|
||||
end
|
||||
if vim.g.lua_tree_quit_on_open then
|
||||
if vim.g.lua_tree_quit_on_open == 1 then
|
||||
M.close()
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user