mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-25 08:54:50 +01:00
fix(neotree): return after toggling
This commit is contained in:
parent
3260fdf196
commit
89e3f3e2c7
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ M.open = function(state, path, extra)
|
|||
if selected.type == "spacer" then return end
|
||||
if selected.type == "title" then return end
|
||||
if selected.type == "entry" then return end
|
||||
if selected.type == "root" then toggle(selected) end
|
||||
if selected.type == "root" then return toggle(selected) end
|
||||
if selected.type == "button" then
|
||||
if selected.name == "[connect]" and session.client == nil then
|
||||
client_manager.connect()
|
||||
|
|
Loading…
Reference in a new issue