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

This commit is contained in:
Bruno BELANYI 2022-03-04 16:25:11 +01:00
parent c5d9396a7d
commit 57e5def998

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