comments and git signs fix
This commit is contained in:
parent
a5ef5f3623
commit
8788f5a833
|
@ -7,7 +7,7 @@ local M = {}
|
|||
---@type Base46HLGroupsList
|
||||
M.override = {
|
||||
Comment = {
|
||||
italic = true,
|
||||
italic = false,
|
||||
},
|
||||
NvDashAscii = {
|
||||
fg = "#b33366",
|
||||
|
|
|
@ -654,8 +654,8 @@ local plugins = {
|
|||
local function get_git_diff(props)
|
||||
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
|
||||
-- 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 })
|
||||
|
|
Loading…
Reference in New Issue