Use Comment color instead of SignColumn

This commit is contained in:
Gabriele Musco
2021-07-29 09:38:52 +02:00
committed by simrat39
parent 63931775ce
commit f04ed3732f

View File

@@ -37,9 +37,9 @@ function M.setup_highlights()
-- notably making them italic, which messes up the outline connector. Fix -- notably making them italic, which messes up the outline connector. Fix
-- this by copying the foreground color from the comment hl into a new -- this by copying the foreground color from the comment hl into a new
-- highlight. -- highlight.
local comment_fg_gui = vim.fn.synIDattr(vim.fn.hlID('SignColumn'), 'fg', local comment_fg_gui = vim.fn.synIDattr(vim.fn.hlID('Comment'), 'fg',
'gui') 'gui')
local comment_fg_cterm = vim.fn.synIDattr(vim.fn.hlID('SignColumn'), 'fg', local comment_fg_cterm = vim.fn.synIDattr(vim.fn.hlID('Comment'), 'fg',
'cterm') 'cterm')