Skip to content

Commit

Permalink
fix(get_highlight): use rawget \#22
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelot committed Apr 26, 2022
1 parent f50bffa commit 4451c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/heirline/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function M.get_highlight(hlname)
elseif k == "sp" then
return t.special
else
return t[k]
return rawget(t, k)
end
end,
})
Expand Down

0 comments on commit 4451c0f

Please sign in to comment.