neovim: remove calling reload_explorer after git call in file tree
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user