Neovim/lua/plugins/gitsigns.lua

23 lines
768 B
Lua

return {
{
"lewis6991/gitsigns.nvim",
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",
},
}
end,
},
}