From 4451c0fca66efe1b2fc105fadc88988affc92d40 Mon Sep 17 00:00:00 2001 From: Tommaso Laurenzi Date: Tue, 26 Apr 2022 10:27:56 +0200 Subject: [PATCH] fix(get_highlight): use rawget \#22 --- lua/heirline/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/heirline/utils.lua b/lua/heirline/utils.lua index 4b79153..2eb6342 100644 --- a/lua/heirline/utils.lua +++ b/lua/heirline/utils.lua @@ -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, })