From bf6186c71943e67f4920d30a35ae5188843d7fc2 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Thu, 21 Jul 2022 23:20:23 +0300 Subject: [PATCH] chore: run stylua --- .../.config/nvim/after/plugin/file-tree.lua | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/neovim/.config/nvim/after/plugin/file-tree.lua b/neovim/.config/nvim/after/plugin/file-tree.lua index 12454d8..dfe955f 100644 --- a/neovim/.config/nvim/after/plugin/file-tree.lua +++ b/neovim/.config/nvim/after/plugin/file-tree.lua @@ -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