update line highlighting for git

This commit is contained in:
Harivansh Rathi 2025-11-13 12:10:36 -05:00
parent b88e672daa
commit 142d73beb8

View file

@ -4,12 +4,34 @@ return {
config = function()
require("gitsigns").setup({
signs = {
add = { text = "" },
change = { text = "" },
delete = { text = "_" },
topdelete = { text = "" },
changedelete = { text = "~" },
add = { text = "" },
change = { text = "" },
delete = { text = "" },
topdelete = { text = "" },
changedelete = { text = "" },
untracked = { text = "" },
},
-- Show colors on line numbers
numhl = true,
-- Optional: adds subtle highlighting to the entire line (set to true if you want)
linehl = false,
-- Optional: highlight the word that changed
word_diff = false,
-- Make the signs stand out a bit more with custom highlights
signcolumn = true,
-- Show git blame at end of current line (optional, can be distracting)
current_line_blame = false,
current_line_blame_opts = {
virt_text = true,
virt_text_pos = 'eol',
delay = 1000,
ignore_whitespace = false,
},
-- Preview window configuration
preview_config = {
border = 'rounded',
style = 'minimal',
},
})
end,
}
}