chore: added refresh gitsigns keybind
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user