mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-11-14 21:41:13 +00:00
15 lines
667 B
Lua
15 lines
667 B
Lua
local status_ok, gitsigns = pcall(require, "gitsigns")
|
|
if not status_ok then
|
|
return
|
|
end
|
|
|
|
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" },
|
|
},
|
|
})
|