1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Update config for GitSigns

This commit is contained in:
jdhao 2024-06-25 21:16:05 +02:00
parent 69d8543495
commit 3694d3c237

View File

@ -2,11 +2,11 @@ local gs = require("gitsigns")
gs.setup { gs.setup {
signs = { signs = {
add = { hl = "GitSignsAdd", text = "+", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, add = { text = "+" },
change = { hl = "GitSignsChange", text = "~", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" }, change = { text = "~" },
delete = { hl = "GitSignsDelete", text = "_", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" }, delete = { text = "_" },
topdelete = { hl = "GitSignsDelete", text = "", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" }, topdelete = { text = "" },
changedelete = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" }, changedelete = { text = "" },
}, },
word_diff = true, word_diff = true,
on_attach = function(bufnr) on_attach = function(bufnr)