neovim: remove calling reload_explorer after git call in file tree

This commit is contained in:
2023-02-08 12:16:26 +03:00
parent d67fb00988
commit 8605d6175d

View File

@@ -8,8 +8,6 @@ local function git_stage(node)
command = "git", command = "git",
args = { "add", relative_path }, args = { "add", relative_path },
}):start() }):start()
require("nvim-tree.actions.reloaders").reload_explorer()
end end
local function git_reset(node) local function git_reset(node)
@@ -20,8 +18,6 @@ local function git_reset(node)
command = "git", command = "git",
args = { "reset", relative_path }, args = { "reset", relative_path },
}):start() }):start()
require("nvim-tree.actions.reloaders").reload_explorer()
end end
-- TODO: add here keymap for git diff window -- TODO: add here keymap for git diff window