refactor(lua): reformat and clean up Lua configuration files

This commit is contained in:
Prad Nukala committed 2025-10-24 09:34:24 -04:00
1 parent b4b165fb96
commit 54444c9f33
7 files changed
+771 -825

No files matched your search

+1 -3
View File
@@ -12,9 +12,7 @@ return {
-- Helper function to get git root and change directory
local function ensure_git_root()
local git_root = vim.fn.systemlist("git rev-parse --show-toplevel")[1]
if git_root and vim.v.shell_error == 0 then
vim.api.nvim_set_current_dir(git_root)
end
if git_root and vim.v.shell_error == 0 then vim.api.nvim_set_current_dir(git_root) end
end
-- Wrapper function to run commands at git root