From 8605d6175d6211ceab9ae6336a83209d3cf9d986 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Wed, 8 Feb 2023 12:16:26 +0300 Subject: [PATCH] neovim: remove calling reload_explorer after git call in file tree --- neovim/.config/nvim/after/plugin/file-tree.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/neovim/.config/nvim/after/plugin/file-tree.lua b/neovim/.config/nvim/after/plugin/file-tree.lua index 909120f..eb83d8c 100644 --- a/neovim/.config/nvim/after/plugin/file-tree.lua +++ b/neovim/.config/nvim/after/plugin/file-tree.lua @@ -8,8 +8,6 @@ local function git_stage(node) command = "git", args = { "add", relative_path }, }):start() - - require("nvim-tree.actions.reloaders").reload_explorer() end local function git_reset(node) @@ -20,8 +18,6 @@ local function git_reset(node) command = "git", args = { "reset", relative_path }, }):start() - - require("nvim-tree.actions.reloaders").reload_explorer() end -- TODO: add here keymap for git diff window