mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 21:00:38 +00:00
fix: Windows User cannot load gitsigns
This commit is contained in:
parent
089cbe43f1
commit
4a5a927de8
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ M.mason_cmds = {
|
|||
M.gitsigns = function()
|
||||
autocmd({ "BufRead" }, {
|
||||
callback = function()
|
||||
vim.fn.system("git rev-parse 2>/dev/null " .. vim.fn.expand "%:p:h")
|
||||
vim.fn.system("git rev-parse " .. vim.fn.expand "%:p:h")
|
||||
if vim.v.shell_error == 0 then
|
||||
vim.schedule(function()
|
||||
require("packer").loader "gitsigns.nvim"
|
||||
|
|
Loading…
Reference in a new issue