From 13c4ba65b2853df92b79b6de7ae1751441ee41bb Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Sun, 30 Jun 2024 18:36:45 +0200 Subject: [PATCH] [neovim] update gitsigns signs --- .config/nvim/lua/core/lazy.lua | 2 +- .config/nvim/lua/plugins/copilot.lua | 2 +- .config/nvim/lua/plugins/gitsigns.lua | 11 ++++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.config/nvim/lua/core/lazy.lua b/.config/nvim/lua/core/lazy.lua index 2198d89..d457408 100644 --- a/.config/nvim/lua/core/lazy.lua +++ b/.config/nvim/lua/core/lazy.lua @@ -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" }, diff --git a/.config/nvim/lua/plugins/copilot.lua b/.config/nvim/lua/plugins/copilot.lua index 464ab4c..1dc21c4 100644 --- a/.config/nvim/lua/plugins/copilot.lua +++ b/.config/nvim/lua/plugins/copilot.lua @@ -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, }) diff --git a/.config/nvim/lua/plugins/gitsigns.lua b/.config/nvim/lua/plugins/gitsigns.lua index 39b40a9..12016c6 100644 --- a/.config/nvim/lua/plugins/gitsigns.lua +++ b/.config/nvim/lua/plugins/gitsigns.lua @@ -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",