2023-11-17 11:24:21 +00:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"lewis6991/gitsigns.nvim",
|
2024-02-23 18:23:02 +00:00
|
|
|
opts = function()
|
|
|
|
local options = require('options')
|
|
|
|
return {
|
|
|
|
signs = {
|
|
|
|
add = { text = options.git.icons.add },
|
|
|
|
change = { text = options.git.icons.change },
|
|
|
|
delete = { text = options.git.icons.delete },
|
|
|
|
topdelete = { text = options.git.icons.topdelete },
|
|
|
|
changedelete = { text = options.git.icons.changedelete },
|
|
|
|
untracked = { text = options.git.icons.untracked },
|
|
|
|
},
|
|
|
|
signcolumn = true,
|
|
|
|
preview_config = {
|
|
|
|
border = 'rounded'
|
|
|
|
}
|
2023-11-17 11:24:21 +00:00
|
|
|
}
|
2024-02-23 18:23:02 +00:00
|
|
|
end
|
2023-11-17 11:24:21 +00:00
|
|
|
}
|
|
|
|
}
|
2024-02-23 18:23:02 +00:00
|
|
|
|