From f97e6171438e768d60d8a032a9e6778cd24c6696 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 23 Jan 2024 13:32:24 +0100 Subject: [PATCH] i donk get incline --- lua/custom/plugins.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index 6a880fd..564dd2f 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -655,12 +655,12 @@ local plugins = { local icons = { removed = "", changed = "", added = "" } local labels = {} -- local signs = vim.api.nvim_buf_get_var(props.buf, "gitsigns_status_dict") - local signs = vim.b.gitsigns_status_dict - for name, icon in pairs(icons) do - if tonumber(signs[name]) and signs[name] > 0 then - table.insert(labels, { icon .. " " .. signs[name] .. " ", group = "Diff" .. name }) - end - end + -- local signs = vim.b.gitsigns_status_dict + -- for name, icon in pairs(icons) do + -- if tonumber(signs[name]) and signs[name] > 0 then + -- table.insert(labels, { icon .. " " .. signs[name] .. " ", group = "Diff" .. name }) + -- end + -- end if #labels > 0 then table.insert(labels, { "| " }) end