summaryrefslogtreecommitdiff
path: root/lua/99/extensions/files/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/99/extensions/files/init.lua')
-rw-r--r--lua/99/extensions/files/init.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/99/extensions/files/init.lua b/lua/99/extensions/files/init.lua
index 2214db6..03afb03 100644
--- a/lua/99/extensions/files/init.lua
+++ b/lua/99/extensions/files/init.lua
@@ -82,7 +82,10 @@ end
--- @param root string
--- @return _99.Files.File[]
local function scan_with_git_sync(root)
- local cmd = string.format("git -C %s ls-files --cached --others --exclude-standard", vim.fn.shellescape(root))
+ local cmd = string.format(
+ "git -C %s ls-files --cached --others --exclude-standard",
+ vim.fn.shellescape(root)
+ )
local output = vim.fn.system(cmd)
if vim.v.shell_error ~= 0 or output == "" then