summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/util.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-13 01:24:53 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-13 01:24:53 +0200
commit972db6ecc34792e19f98e1b621f61394411dbe77 (patch)
treed52124825a53743847032eadaf65d133beba4780 /lua/no-clown-fiesta/util.lua
parent0f7a594a3a516e549bc15e95bc8995d7cf6860c0 (diff)
Add support for sp
Diffstat (limited to 'lua/no-clown-fiesta/util.lua')
-rw-r--r--lua/no-clown-fiesta/util.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/util.lua b/lua/no-clown-fiesta/util.lua
index dbac18a..4db151c 100644
--- a/lua/no-clown-fiesta/util.lua
+++ b/lua/no-clown-fiesta/util.lua
@@ -3,6 +3,7 @@ local M = {}
local function highlight(group, properties)
local bg = properties.bg == nil and "" or "guibg=" .. properties.bg
local fg = properties.fg == nil and "" or "guifg=" .. properties.fg
+ local sp = properties.sp == nil and "" or "guisp=" .. properties.sp
local style = properties.style == nil and "" or "gui=" .. properties.style
local cmd = table.concat({
@@ -10,6 +11,7 @@ local function highlight(group, properties)
group,
bg,
fg,
+ sp,
style,
}, " ")