From d72d935b358dd969f059d5215a41376160f1d88a Mon Sep 17 00:00:00 2001 From: georgejean Date: Thu, 1 Jun 2023 18:09:14 +0200 Subject: [PATCH] Fix deprecated highlight config for gitsigns (#2078) --- lua/plugins/configs/others.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index 8775517..e4110f2 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -51,12 +51,12 @@ end M.gitsigns = { signs = { - add = { hl = "DiffAdd", text = "│", numhl = "GitSignsAddNr" }, - change = { hl = "DiffChange", text = "│", numhl = "GitSignsChangeNr" }, - delete = { hl = "DiffDelete", text = "󰍵", numhl = "GitSignsDeleteNr" }, - topdelete = { hl = "DiffDelete", text = "‾", numhl = "GitSignsDeleteNr" }, - changedelete = { hl = "DiffChangeDelete", text = "~", numhl = "GitSignsChangeNr" }, - untracked = { hl = "GitSignsAdd", text = "│", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, + add = { text = '│' }, + change = { text = '│' }, + delete = { text = '󰍵' }, + topdelete = { text = '‾' }, + changedelete = { text = '~' }, + untracked = { text = '│' }, }, on_attach = function(bufnr) utils.load_mappings("gitsigns", { buffer = bufnr })