diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/no-clown-fiesta/highlights.lua | 2 | ||||
-rw-r--r-- | lua/no-clown-fiesta/util.lua | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lua/no-clown-fiesta/highlights.lua b/lua/no-clown-fiesta/highlights.lua index 5a63b36..39ab824 100644 --- a/lua/no-clown-fiesta/highlights.lua +++ b/lua/no-clown-fiesta/highlights.lua @@ -7,7 +7,7 @@ function M.highlight(palette, opts) MsgArea = { fg = palette.fg, bg = palette.bg }, ModeMsg = { fg = palette.fg, bg = palette.bg }, MsgSeparator = { fg = palette.fg, bg = palette.bg }, - SpellBad = { sp = palette.red, style = "undercurl" }, + SpellBad = { sp = palette.error_red, style = "undercurl" }, SpellCap = { fg = palette.yellow, style = "underline" }, SpellLocal = { fg = palette.green, style = "underline" }, SpellRare = { fg = palette.purple, style = "underline" }, 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, }, " ") |