1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 13:58:00 +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" }, { "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
-- Git -- Git
{ "lewis6991/gitsigns.nvim", event = "BufReadPre", version = "v0.*" }, { "lewis6991/gitsigns.nvim", event = "BufReadPre" },
{ "sindrets/diffview.nvim" }, { "sindrets/diffview.nvim" },
{ "f-person/git-blame.nvim" }, { "f-person/git-blame.nvim" },

View File

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

View File

@ -1,10 +1,11 @@
require("gitsigns").setup({ require("gitsigns").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 = "" },
untracked = { text = "" },
}, },
preview_config = { preview_config = {
border = "rounded", border = "rounded",