1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 06:58:01 +00:00

[neovim] update gitsigns signs

This commit is contained in:
Daniel Carrillo 2024-06-30 18:36:45 +02:00
parent edd45b864f
commit 13c4ba65b2
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
3 changed files with 8 additions and 7 deletions

View File

@ -165,7 +165,7 @@ require("lazy").setup({
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
-- Git
{ "lewis6991/gitsigns.nvim", event = "BufReadPre", version = "v0.*" },
{ "lewis6991/gitsigns.nvim", event = "BufReadPre" },
{ "sindrets/diffview.nvim" },
{ "f-person/git-blame.nvim" },

View File

@ -25,6 +25,6 @@ require("copilot_cmp").setup()
require("CopilotChat").setup({
debug = false,
show_user_selection = false,
clear_chat_on_new_prompt = true,
clear_chat_on_new_prompt = false,
prompts = prompts,
})

View File

@ -1,10 +1,11 @@
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" },
add = { text = "" },
change = { text = "" },
delete = { text = "󰦺" },
topdelete = { text = "󰦺" },
changedelete = { text = "" },
untracked = { text = "" },
},
preview_config = {
border = "rounded",