mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
34 lines
700 B
Lua
34 lines
700 B
Lua
if not pcall(require, "gitsigns") then
|
|
return
|
|
end
|
|
|
|
require("gitsigns").setup({
|
|
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",
|
|
},
|
|
},
|
|
})
|