38 lines
768 B
Lua
38 lines
768 B
Lua
local M = {
|
|
"lewis6991/gitsigns.nvim",
|
|
}
|
|
|
|
function M.config()
|
|
require("gitsigns").setup({
|
|
numhl = true,
|
|
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",
|
|
},
|
|
},
|
|
})
|
|
end
|
|
|
|
return M
|