Neovim/lua/plugins/gitsigns.lua

24 lines
765 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
}
}