format all files

This commit is contained in:
RingOfStorms (Joshua Bell) 2023-11-03 00:57:32 -05:00
parent 7adc3a8bf9
commit 0a17321086
26 changed files with 331 additions and 331 deletions

View file

@ -1,30 +1,30 @@
local function prereqs()
local output = vim.fn.system({
"which",
"lazygit",
})
if output == nil or output == "" then
print("Installing lazygit with rtx")
-- if v:shell_error != 0 then
vim.fn.system({
"rtx",
"global",
"lazygit@latest",
})
vim.fn.system({
"rtx",
"install",
})
end
local output = vim.fn.system({
"which",
"lazygit",
})
if output == nil or output == "" then
print("Installing lazygit with rtx")
-- if v:shell_error != 0 then
vim.fn.system({
"rtx",
"global",
"lazygit@latest",
})
vim.fn.system({
"rtx",
"install",
})
end
end
return {
"kdheepak/lazygit.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
build = prereqs,
keys = {
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "Open lazy git ui" },
},
"kdheepak/lazygit.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
build = prereqs,
keys = {
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "Open lazy git ui" },
},
}