@@ -38,12 +38,9 @@ function M.setup_highlights()
|
|||||||
-- 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.synIDtrans(vim.fn.hlID('Comment')), 'fg', 'gui')
|
local comment_fg_gui = vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID('Comment')), 'fg', 'gui')
|
||||||
local comment_fg_cterm = vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID('Comment')), 'fg',
|
|
||||||
'cterm')
|
|
||||||
|
|
||||||
if vim.fn.hlexists('SymbolsOutlineConnector') == 0 then
|
if vim.fn.hlexists('SymbolsOutlineConnector') == 0 then
|
||||||
vim.cmd(string.format('hi SymbolsOutlineConnector ctermfg=%s guifg=%s',
|
vim.cmd(string.format('hi SymbolsOutlineConnector guifg=%s', comment_fg_gui))
|
||||||
comment_fg_cterm, comment_fg_gui))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local symbols = config.options.symbols
|
local symbols = config.options.symbols
|
||||||
|
|||||||
Reference in New Issue
Block a user