try to bring yadm functionality back into gitsigns (not working)
I think the _on_attach_pre is working, but getting an error when adding on_attach = function(bufnr) to the gitsigns config.. Started from my MBP at work, syncing so I can pick it up on another laptop over the weekend if I have time
This commit is contained in:
@@ -45,6 +45,7 @@ return packer.startup(function(use)
|
|||||||
})
|
})
|
||||||
use("tpope/vim-obsession")
|
use("tpope/vim-obsession")
|
||||||
use("norcalli/nvim-colorizer.lua")
|
use("norcalli/nvim-colorizer.lua")
|
||||||
|
use("seanbreckenridge/gitsigns-yadm") -- bring yadm support back to gitsigns
|
||||||
|
|
||||||
use("ThePrimeagen/vim-be-good") -- get gud
|
use("ThePrimeagen/vim-be-good") -- get gud
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ if not setup then
|
|||||||
end
|
end
|
||||||
|
|
||||||
gitsigns.setup {
|
gitsigns.setup {
|
||||||
|
_on_attach_pre =
|
||||||
|
function(_, callback)
|
||||||
|
vequire("gitsigns-yadm").yadm_signs(callback)
|
||||||
|
end,
|
||||||
signs = {
|
signs = {
|
||||||
add = { text = '+' },
|
add = { text = '+' },
|
||||||
change = { text = '│' },
|
change = { text = '│' },
|
||||||
@@ -41,7 +45,5 @@ gitsigns.setup {
|
|||||||
row = 0,
|
row = 0,
|
||||||
col = 1
|
col = 1
|
||||||
},
|
},
|
||||||
yadm = {
|
-- on_attach = function(bufnr)
|
||||||
enable = true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user