From f04ed3732fc8e1897e51fb7b19c7725a3b102572 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Thu, 29 Jul 2021 09:38:52 +0200 Subject: [PATCH] Use Comment color instead of SignColumn --- lua/symbols-outline/ui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/symbols-outline/ui.lua b/lua/symbols-outline/ui.lua index ea8dc0d..6082b95 100644 --- a/lua/symbols-outline/ui.lua +++ b/lua/symbols-outline/ui.lua @@ -37,9 +37,9 @@ function M.setup_highlights() -- notably making them italic, which messes up the outline connector. Fix -- this by copying the foreground color from the comment hl into a new -- 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') - 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')