Neovim/lua/plugins/gitsigns.lua

23 lines
768 B
Lua
Raw Normal View History

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")
2024-02-23 18:23:02 +00:00
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",
2024-03-03 20:02:51 +00:00
},
2023-11-17 11:24:21 +00:00
}
end,
},
2023-11-17 11:24:21 +00:00
}