chore: added refresh gitsigns keybind

This commit is contained in:
Ward Truyen
2025-08-17 22:38:35 +02:00
parent 3bce3cb3ed
commit 93b9162d16

View File

@@ -5,7 +5,7 @@ return {
config = function()
require("gitsigns").setup {
signs = {
signs = {
-- add = { text = "│" },
-- change = { text = "│" },
delete = { text = "_", show_count = true },
@@ -13,8 +13,12 @@ return {
-- changedelete = { text = "~" },
-- untracked = { text = "┆" },
},
numhl = true, -- Toggle with `:Gitsigns toggle_numhl`
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
numhl = true, -- Toggle with `:Gitsigns toggle_numhl`
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
}
vim.keymap.set('n', '<Leader>xs', function()
require("gitsigns").refresh();
end, { desc = "Gitsigns refresh" })
end,
}