From 5abb998fb88c904b00c045e3ed6cadee9aad1684 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 9 Jan 2025 17:51:02 +0000 Subject: [PATCH] fix gitsigns warnings --- home/common/core/nixvim/plugins/gitsigns.nix | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/home/common/core/nixvim/plugins/gitsigns.nix b/home/common/core/nixvim/plugins/gitsigns.nix index d488015..ab24fd1 100644 --- a/home/common/core/nixvim/plugins/gitsigns.nix +++ b/home/common/core/nixvim/plugins/gitsigns.nix @@ -2,34 +2,24 @@ programs.nixvim.plugins.gitsigns = { enable = true; settings.signs.add = { - hl = "GitSignsAdd"; + set_hl = "GitSignsAdd"; text = " ▎"; - numhl = "GitSignsAddNr"; - linehl = "GitSignsAddLn"; }; settings.signs.change = { - hl = "GitSignsChange"; + set_hl = "GitSignsChange"; text = " ▎"; - numhl = "GitSignsChangeNr"; - linehl = "GitSignsChangeLn"; }; settings.signs.delete = { - hl = "GitSignsDelete"; + set_hl = "GitSignsDelete"; text = " ●"; - numhl = "GitSignsDeleteNr"; - linehl = "GitSignsDeleteLn"; }; settings.signs.topdelete = { - hl = "GitSignsDelete"; + set_hl = "GitSignsDelete"; text = " ●"; - numhl = "GitSignsDeleteNr"; - linehl = "GitSignsDeleteLn"; }; settings.signs.changedelete = { - hl = "GitSignsChange"; + set_hl = "GitSignsChange"; text = " ▎"; - numhl = "GitSignsChangeNr"; - linehl = "GitSignsChangeLn"; }; }; }