From e56ad93c23674f6677145a1f8933e02c807ba5d0 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 29 Oct 2022 14:05:46 +0200 Subject: Remove style field --- lua/no-clown-fiesta/highlights.lua | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'lua/no-clown-fiesta/highlights.lua') 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 }, -- cgit v1.2.3-70-g09d2