home: vim: git: 'gitsigns' mappings are per buffer

This commit is contained in:
Bruno BELANYI 2022-03-04 16:25:11 +01:00
parent 10635e0888
commit 714eb8ca2d

View file

@ -50,8 +50,8 @@ gitsigns.setup({
}
wk.register(keys, { buffer = bufnr })
wk.register(objects, { mode = "o" })
wk.register(visual, { mode = "x" })
wk.register(objects, { buffer = bufnr, mode = "o" })
wk.register(visual, { buffer = bufnr, mode = "x" })
end,
})
EOF