summaryrefslogtreecommitdiff
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
parent95805b36e4cb70b5c87cdc76e5bd384830a41cbe (diff)
Remove style field
-rw-r--r--lua/no-clown-fiesta/highlight-group/hop.lua4
-rw-r--r--lua/no-clown-fiesta/highlight-group/lsp.lua8
-rw-r--r--lua/no-clown-fiesta/highlight-group/markdown.lua6
-rw-r--r--lua/no-clown-fiesta/highlight-group/nvim-tree.lua4
-rw-r--r--lua/no-clown-fiesta/highlight-group/telescope.lua2
-rw-r--r--lua/no-clown-fiesta/highlight-group/treesitter.lua6
-rw-r--r--lua/no-clown-fiesta/highlights.lua32
7 files changed, 31 insertions, 31 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/hop.lua b/lua/no-clown-fiesta/highlight-group/hop.lua
index 341c6ff..caa16b2 100644
--- a/lua/no-clown-fiesta/highlight-group/hop.lua
+++ b/lua/no-clown-fiesta/highlight-group/hop.lua
@@ -2,8 +2,8 @@ local M = {}
function M.highlight(palette)
return {
- HopNextKey = { fg = palette.cyan, style = "bold" },
- HopNextKey1 = { fg = palette.red, style = "bold" },
+ HopNextKey = { fg = palette.cyan, bold = true },
+ HopNextKey1 = { fg = palette.red, bold = true },
HopNextKey2 = { fg = palette.gray_blue },
HopUnmatched = { fg = palette.gray },
}
diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua
index daf87f9..5ebfc34 100644
--- a/lua/no-clown-fiesta/highlight-group/lsp.lua
+++ b/lua/no-clown-fiesta/highlight-group/lsp.lua
@@ -35,11 +35,11 @@ function M.highlight(palette)
LspDiagnosticsHint = { fg = palette.hint_blue },
DiagnosticUnderlineError = {
sp = palette.error_red,
- style = "undercurl",
+ undercurl = true,
},
- DiagnosticUnderlineWarn = { sp = palette.warning_orange, style = "NONE" },
- DiagnosticUnderlineInfo = { sp = palette.hint_blue, style = "NONE" },
- DiagnosticUnderlineHint = { sp = palette.hint_blue, style = "NONE" },
+ DiagnosticUnderlineWarn = { sp = palette.warning_orange },
+ DiagnosticUnderlineInfo = { sp = palette.hint_blue },
+ DiagnosticUnderlineHint = { sp = palette.hint_blue },
LspReferenceRead = { bg = "#36383F" },
LspReferenceText = { bg = "#36383F" },
LspReferenceWrite = { bg = "#36383f" },
diff --git a/lua/no-clown-fiesta/highlight-group/markdown.lua b/lua/no-clown-fiesta/highlight-group/markdown.lua
index 28ece3b..6147a25 100644
--- a/lua/no-clown-fiesta/highlight-group/markdown.lua
+++ b/lua/no-clown-fiesta/highlight-group/markdown.lua
@@ -3,7 +3,7 @@ local M = {}
function M.highlight(palette)
return {
markdownBlockquote = { fg = palette.accent },
- markdownBold = { fg = palette.yellow, style = "bold" },
+ markdownBold = { fg = palette.yellow, bold = true },
markdownCode = { fg = palette.green },
markdownCodeBlock = { fg = palette.green },
markdownCodeDelimiter = { fg = palette.green },
@@ -19,12 +19,12 @@ function M.highlight(palette)
markdownIdDeclaration = { fg = palette.blue },
markdownIdDelimiter = { fg = palette.light_gray },
markdownLinkDelimiter = { fg = palette.light_gray },
- markdownItalic = { style = "italic" },
+ markdownItalic = { italic = true },
markdownLinkText = { fg = palette.blue },
markdownListMarker = { fg = palette.red },
markdownOrderedListMarker = { fg = palette.red },
markdownRule = { fg = palette.accent },
- markdownUrl = { fg = palette.cyan, style = "underline" },
+ markdownUrl = { fg = palette.cyan, underline = true },
}
end
diff --git a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
index ffe7897..21cdc25 100644
--- a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
+++ b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
@@ -7,7 +7,7 @@ function M.highlight(palette)
NvimTreeNormal = { fg = palette.light_gray, bg = palette.alt_bg },
NvimTreeVertSplit = { fg = palette.alt_bg, bg = palette.alt_bg },
NvimTreeFolderName = { fg = palette.white },
- NvimTreeOpenedFolderName = { fg = palette.white, style = "bold" },
+ NvimTreeOpenedFolderName = { fg = palette.white, bold = true },
NvimTreeEmptyFolderName = { fg = palette.medium_gray },
NvimTreeGitIgnored = { fg = palette.medium_gray },
NvimTreeImageFile = { fg = palette.light_gray },
@@ -22,7 +22,7 @@ function M.highlight(palette)
NvimTreeGitMerge = { fg = palette.info_yellow },
NvimTreeGitDirty = { fg = palette.info_yellow },
NvimTreeSymlink = { fg = palette.cyan },
- NvimTreeRootFolder = { fg = palette.fg, style = "bold" },
+ NvimTreeRootFolder = { fg = palette.fg, bold = true },
NvimTreeExecFile = { fg = palette.green },
NvimTreeStatusLine = { fg = palette.alt_bg, bg = palette.alt_bg },
NvimTreeStatusLineNC = { fg = palette.alt_bg, bg = palette.alt_bg },
diff --git a/lua/no-clown-fiesta/highlight-group/telescope.lua b/lua/no-clown-fiesta/highlight-group/telescope.lua
index 211e21e..1a0971c 100644
--- a/lua/no-clown-fiesta/highlight-group/telescope.lua
+++ b/lua/no-clown-fiesta/highlight-group/telescope.lua
@@ -4,7 +4,7 @@ function M.highlight(palette)
return {
TelescopeNormal = { fg = palette.fg, bg = palette.bg },
TelescopeSelection = { fg = palette.fg, bg = palette.accent },
- TelescopeMatching = { fg = palette.info_yellow, style = "bold" },
+ TelescopeMatching = { fg = palette.info_yellow, bold = true },
TelescopeBorder = { fg = palette.fg, bg = palette.bg },
}
end
diff --git a/lua/no-clown-fiesta/highlight-group/treesitter.lua b/lua/no-clown-fiesta/highlight-group/treesitter.lua
index f74e02d..fb3d1c1 100644
--- a/lua/no-clown-fiesta/highlight-group/treesitter.lua
+++ b/lua/no-clown-fiesta/highlight-group/treesitter.lua
@@ -67,11 +67,11 @@ function M.highlight(palette, options)
["@string.regex"] = { fg = palette.medium_gray_blue },
["@string.escape"] = { fg = palette.medium_gray_blue },
["@tag"] = { fg = palette.pale_purple },
- ["@emphasis"] = { style = "italic" },
- ["@underline"] = { style = "underline" },
+ ["@emphasis"] = { italic = true },
+ ["@underline"] = { underline = true },
["@title"] = { fg = palette.medium_gray },
["@literal"] = { fg = palette.medium_gray },
- ["@uri"] = { fg = palette.cyan, style = "underline" },
+ ["@uri"] = { fg = palette.cyan, underline = true },
["@keyword.operator"] = { fg = palette.gray_blue },
["@structure"] = { fg = palette.purple_test },
["@strong"] = { fg = palette.medium_gray },
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 },