Fix lua_tree_quit_on_open configuration option

This commit is contained in:
Jan Sipr
2020-10-28 20:04:15 +01:00
committed by Kiyan
parent ebf6f2a21a
commit 521f2cfb5c

View File

@@ -202,7 +202,7 @@ function M.open_file(mode, filename)
api.nvim_command('vertical resize '..M.Tree.win_width) api.nvim_command('vertical resize '..M.Tree.win_width)
M.win_focus(cur_win) M.win_focus(cur_win)
end end
if vim.g.lua_tree_quit_on_open then if vim.g.lua_tree_quit_on_open == 1 then
M.close() M.close()
end end
end end