summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlights.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-29 14:05:46 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-29 14:05:46 +0200
commite56ad93c23674f6677145a1f8933e02c807ba5d0 (patch)
tree9c073b000118d0d4c933f3010890d500ed277ab7 /lua/no-clown-fiesta/highlights.lua
parent95805b36e4cb70b5c87cdc76e5bd384830a41cbe (diff)
Remove style field
Diffstat (limited to 'lua/no-clown-fiesta/highlights.lua')
-rw-r--r--lua/no-clown-fiesta/highlights.lua32
1 files changed, 16 insertions, 16 deletions
diff --git a/lua/no-clown-fiesta/highlights.lua b/lua/no-clown-fiesta/highlights.lua
index a728962..86446fc 100644
--- a/lua/no-clown-fiesta/highlights.lua
+++ b/lua/no-clown-fiesta/highlights.lua
@@ -10,15 +10,15 @@ function M.highlight(palette, options)
MsgArea = { fg = palette.fg, bg = palette.bg },
ModeMsg = { fg = palette.fg, bg = palette.bg },
MsgSeparator = { fg = palette.fg, bg = palette.bg },
- SpellBad = { sp = palette.error_red, style = "undercurl" },
- SpellCap = { sp = palette.yellow, style = "undercurl" },
- SpellLocal = { sp = palette.green, style = "undercurl" },
- SpellRare = { sp = palette.purple, style = "undercurl" },
+ SpellBad = { sp = palette.error_red, undercurl = true },
+ SpellCap = { sp = palette.yellow, undercurl = true },
+ SpellLocal = { sp = palette.green, undercurl = true },
+ SpellRare = { sp = palette.purple, undercurl = true },
NormalNC = { fg = palette.fg, bg = palette.bg },
Pmenu = { fg = palette.light_gray, bg = palette.accent },
PmenuSel = { fg = palette.blue, bg = palette.alt_bg },
WildMenu = { fg = palette.blue, bg = palette.alt_bg },
- CursorLineNr = { fg = palette.light_gray, style = "bold" },
+ CursorLineNr = { fg = palette.light_gray, bold = true },
Comment = vim.tbl_extend(
"force",
{ fg = palette.medium_gray },
@@ -46,10 +46,10 @@ function M.highlight(palette, options)
QuickFixLine = { bg = palette.accent },
PmenuSbar = { bg = palette.alt_bg },
PmenuThumb = { bg = palette.light_gray },
- MatchWord = { style = "underline" },
- MatchParen = { fg = palette.pale_purple, bg = palette.bg, style = "underline" },
- MatchWordCur = { style = "underline" },
- MatchParenCur = { style = "underline" },
+ MatchWord = { underline = true },
+ MatchParen = { fg = palette.pale_purple, bg = palette.bg, underline = true },
+ MatchWordCur = { underline = true },
+ MatchParenCur = { underline = true },
Cursor = { fg = palette.cursor_fg, bg = palette.cursor_bg },
lCursor = { fg = palette.cursor_fg, bg = palette.cursor_bg },
CursorIM = { fg = palette.cursor_fg, bg = palette.cursor_bg },
@@ -59,7 +59,7 @@ function M.highlight(palette, options)
Directory = { fg = palette.blue },
SpecialKey = { fg = palette.blue },
Title = { fg = palette.blue },
- ErrorMsg = { fg = palette.error_red, bg = palette.bg, style = "bold" },
+ ErrorMsg = { fg = palette.error_red, bg = palette.bg, bold = true },
Search = { fg = palette.orange, bg = palette.alt_bg },
IncSearch = { fg = palette.cursor_fg, bg = palette.alt_bg },
Substitute = { fg = palette.alt_bg, bg = palette.gray_blue },
@@ -110,12 +110,12 @@ function M.highlight(palette, options)
{ fg = palette.medium_gray },
options.styles.comments
),
- Underlined = { style = "underline" },
- Bold = { style = "bold" },
- Italic = { style = "italic" },
- Ignore = { fg = palette.cyan, bg = palette.bg, style = "bold" },
- Todo = { fg = palette.red, bg = palette.bg, style = "bold" },
- Error = { fg = palette.error_red, bg = palette.bg, style = "bold" },
+ Underlined = { underline = true },
+ Bold = { bold = true },
+ Italic = { italic = true },
+ Ignore = { fg = palette.cyan, bg = palette.bg, bold = true },
+ Todo = { fg = palette.red, bg = palette.bg, bold = true },
+ Error = { fg = palette.error_red, bg = palette.bg, bold = true },
TabLine = { fg = palette.gray, bg = palette.alt_bg },
TabLineSel = { fg = palette.white, bg = palette.alt_bg },
TabLineFill = { fg = palette.white, bg = palette.alt_bg },