From 4db58e4975a5d00b12c029ebf297d99f0c6d5226 Mon Sep 17 00:00:00 2001 From: siduck Date: Tue, 15 Nov 2022 18:40:40 +0530 Subject: [PATCH] add glyph icon for untracked icon (gitsigns --- lua/plugins/configs/others.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index 4b7508a..2b50e0c 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -145,10 +145,11 @@ M.gitsigns = function() 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" }, }, - on_attach = function (bufnr) + on_attach = function(bufnr) utils.load_mappings("gitsigns", { buffer = bufnr }) - end + end, } options = load_override(options, "lewis6991/gitsigns.nvim")