2023-11-17 11:24:21 +00:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"lewis6991/gitsigns.nvim",
|
2024-02-23 18:23:02 +00:00
|
|
|
opts = function()
|
2024-04-13 08:49:11 +00:00
|
|
|
local options = require("options")
|
2024-02-23 18:23:02 +00:00
|
|
|
return {
|
|
|
|
signs = {
|
2024-05-24 16:42:20 +00:00
|
|
|
add = { text = options.git.signs.add },
|
|
|
|
change = { text = options.git.signs.change },
|
|
|
|
delete = { text = options.git.signs.delete },
|
|
|
|
topdelete = { text = options.git.signs.topdelete },
|
|
|
|
changedelete = { text = options.git.signs.changedelete },
|
|
|
|
untracked = { text = options.git.signs.untracked },
|
2024-02-23 18:23:02 +00:00
|
|
|
},
|
|
|
|
signcolumn = true,
|
|
|
|
preview_config = {
|
2024-05-24 16:42:20 +00:00
|
|
|
border = options.ui.border,
|
2024-03-03 20:02:51 +00:00
|
|
|
},
|
2023-11-17 11:24:21 +00:00
|
|
|
}
|
2024-04-13 08:49:11 +00:00
|
|
|
end,
|
|
|
|
},
|
2023-11-17 11:24:21 +00:00
|
|
|
}
|