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:
2024-10-26 11:22:18 -04:00
parent 086466c03a
commit 66ad3aa181
2 changed files with 6 additions and 3 deletions
+5 -3
View File
@@ -4,6 +4,10 @@ if not setup then
end
gitsigns.setup {
_on_attach_pre =
function(_, callback)
vequire("gitsigns-yadm").yadm_signs(callback)
end,
signs = {
add = { text = '+' },
change = { text = '' },
@@ -41,7 +45,5 @@ gitsigns.setup {
row = 0,
col = 1
},
yadm = {
enable = true
}
-- on_attach = function(bufnr)
}