Skip to content

Commit

Permalink
fix(highlights): do not fail on blank hlgroups; fix #110
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelot committed Feb 18, 2023
1 parent 81ceb30 commit b2e69dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/heirline/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ local function normalize_hl(hl)
end

function M.eval_hl(hl)
if vim.tbl_isempty(hl) then
if vim.tbl_isempty(hl) or hl[true] then
return "", ""
end
hl = normalize_hl(hl)
Expand Down

0 comments on commit b2e69dc

Please sign in to comment.