format
This commit is contained in:
@@ -34,6 +34,7 @@ local function git_stage(node)
|
|||||||
|
|
||||||
require("nvim-tree.actions.reloaders").reload_explorer()
|
require("nvim-tree.actions.reloaders").reload_explorer()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function git_reset(node)
|
local function git_reset(node)
|
||||||
local cwd = vim.loop.cwd()
|
local cwd = vim.loop.cwd()
|
||||||
local relative_path = string.gsub(node.absolute_path, cwd .. "/", "")
|
local relative_path = string.gsub(node.absolute_path, cwd .. "/", "")
|
||||||
@@ -47,6 +48,7 @@ local function git_reset(node)
|
|||||||
|
|
||||||
require("nvim-tree.actions.reloaders").reload_explorer()
|
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
|
||||||
|
|
||||||
require("nvim-tree").setup({
|
require("nvim-tree").setup({
|
||||||
|
|||||||
Reference in New Issue
Block a user