Merge pull request #46 from GabMus/patch-1

Use Comment color instead of SignColumn
This commit is contained in:
sim
2021-07-29 00:55:23 -07:00
committed by GitHub

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')