fix: gitsigns not loading
This commit is contained in:
parent
a6f2f0e0b9
commit
0f5a96028e
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ M.mason_cmds = {
|
||||||
M.gitsigns = function()
|
M.gitsigns = function()
|
||||||
autocmd({ "BufRead" }, {
|
autocmd({ "BufRead" }, {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.fn.system("git rev-parse" .. vim.fn.expand "%:p:h")
|
vim.fn.system("git rev-parse" .. " " .. vim.fn.expand "%:p:h")
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue