chore: run stylua

This commit is contained in:
2022-07-21 23:20:23 +03:00
parent ca6e236892
commit bf6186c719

View File

@@ -4,12 +4,10 @@ local function git_stage(node)
local cwd = vim.loop.cwd()
local relative_path = string.gsub(node.absolute_path, cwd .. "/", "")
Job
:new({
command = "git",
args = { "add", relative_path },
})
:start()
Job:new({
command = "git",
args = { "add", relative_path },
}):start()
require("nvim-tree.actions.reloaders").reload_explorer()
end
@@ -18,12 +16,10 @@ local function git_reset(node)
local cwd = vim.loop.cwd()
local relative_path = string.gsub(node.absolute_path, cwd .. "/", "")
Job
:new({
command = "git",
args = { "reset", relative_path },
})
:start()
Job:new({
command = "git",
args = { "reset", relative_path },
}):start()
require("nvim-tree.actions.reloaders").reload_explorer()
end