2024-09-23 08:37:41 +00:00
|
|
|
return {
|
|
|
|
'lewis6991/gitsigns.nvim',
|
2024-10-06 15:04:11 +00:00
|
|
|
config = function()
|
|
|
|
local opts = {
|
|
|
|
signs = {
|
|
|
|
add = { text = '+' },
|
|
|
|
change = { text = "~" },
|
|
|
|
delete = { text = "_" },
|
|
|
|
topdelete = { text = "-" },
|
|
|
|
changedelete = { text = "~" }
|
|
|
|
},
|
|
|
|
signs_staged = {
|
|
|
|
add = { text = '+' },
|
|
|
|
change = { text = "~" },
|
|
|
|
delete = { text = "_" },
|
|
|
|
topdelete = { text = "-" },
|
|
|
|
changedelete = { text = "~" },
|
|
|
|
untracked = { text = "*" },
|
|
|
|
},
|
|
|
|
signs_staged_enable = true,
|
|
|
|
signcolumn = true,
|
|
|
|
watch_gitdir = {
|
|
|
|
follow_files = true
|
|
|
|
},
|
|
|
|
auto_attach = true
|
|
|
|
}
|
|
|
|
require("gitsigns").setup(opts)
|
|
|
|
end,
|
2024-09-23 08:37:41 +00:00
|
|
|
}
|