mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 21:00:38 +00:00
Format with stylua
This commit is contained in:
parent
8e8d18ed8d
commit
14ef6759be
1 changed files with 6 additions and 5 deletions
|
@ -79,11 +79,12 @@ M.mason_cmds = {
|
||||||
M.gitsigns = function()
|
M.gitsigns = function()
|
||||||
autocmd({ "BufRead" }, {
|
autocmd({ "BufRead" }, {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.fn.system([[git rev-parse 2>/dev/null]])
|
vim.fn.system [[git rev-parse 2>/dev/null]]
|
||||||
if vim.v.shell_error == 0 then
|
if vim.v.shell_error == 0 then
|
||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
require("packer").loader "gitsigns.nvim"
|
require("packer").loader "gitsigns.nvim"
|
||||||
end)
|
end)
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue