Skip to content

Commit

Permalink
fix: don't return defhl if highlight is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
famiu committed Sep 17, 2021
1 parent 3b23c73 commit 39aafe1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/feline/generator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ end
local function parse_hl(hl, parent_hl)
if type(hl) == "string" then return hl end

if hl == {} then return defhl() end

if hl.name and M.highlights[hl.name] then
return hl.name
end
Expand Down

0 comments on commit 39aafe1

Please sign in to comment.