don't max xyz->cba in create_component_highlight it's done while generating default hl values

This commit is contained in:
shadmansaleh 2022-03-05 17:51:47 +06:00
parent 09f749cbb1
commit 21fdf7b9fa
1 changed files with 0 additions and 4 deletions

View File

@ -301,10 +301,6 @@ end
--- to retrieve highlight group
function M.create_component_highlight_group(color, highlight_tag, options, apply_no_default)
local section = options.self.section
if section > 'c' and not active_theme.normal[section] then
section = section_highlight_map[section]
end
local tag_id = 0
while
M.highlight_exists(table.concat({ 'lualine', section, highlight_tag }, '_'))