mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
43 lines
836 B
Lua
43 lines
836 B
Lua
return {
|
|
"lewis6991/gitsigns.nvim",
|
|
lazy = false,
|
|
keys = {
|
|
{
|
|
"<leader>gb",
|
|
function()
|
|
vim.cmd.Gitsigns("blame_line")
|
|
end,
|
|
desc = "[G]it [B]lame",
|
|
},
|
|
},
|
|
opts = {
|
|
signs = {
|
|
add = { hl = "GitSignsAdd", text = "▎", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" },
|
|
change = {
|
|
hl = "GitSignsChange",
|
|
text = "▎",
|
|
numhl = "GitSignsChangeNr",
|
|
linehl = "GitSignsChangeLn",
|
|
},
|
|
delete = {
|
|
hl = "GitSignsDelete",
|
|
text = "契",
|
|
numhl = "GitSignsDeleteNr",
|
|
linehl = "GitSignsDeleteLn",
|
|
},
|
|
topdelete = {
|
|
hl = "GitSignsDelete",
|
|
text = "契",
|
|
numhl = "GitSignsDeleteNr",
|
|
linehl = "GitSignsDeleteLn",
|
|
},
|
|
changedelete = {
|
|
hl = "GitSignsChange",
|
|
text = "▎",
|
|
numhl = "GitSignsChangeNr",
|
|
linehl = "GitSignsChangeLn",
|
|
},
|
|
},
|
|
},
|
|
}
|