diff options
Diffstat (limited to 'lua/no-clown-fiesta/highlight-group')
-rw-r--r-- | lua/no-clown-fiesta/highlight-group/lsp.lua | 56 | ||||
-rw-r--r-- | lua/no-clown-fiesta/highlight-group/neogit.lua | 2 | ||||
-rw-r--r-- | lua/no-clown-fiesta/highlight-group/nvim-tree.lua | 14 | ||||
-rw-r--r-- | lua/no-clown-fiesta/highlight-group/telescope.lua | 2 | ||||
-rw-r--r-- | lua/no-clown-fiesta/highlight-group/treesitter.lua | 4 |
5 files changed, 29 insertions, 49 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua index 5ebfc34..9c14700 100644 --- a/lua/no-clown-fiesta/highlight-group/lsp.lua +++ b/lua/no-clown-fiesta/highlight-group/lsp.lua @@ -2,47 +2,27 @@ local M = {} function M.highlight(palette) return { - LspDiagnosticsDefaultError = { fg = palette.error_red }, - LspDiagnosticsDefaultWarning = { fg = palette.warning_orange }, - LspDiagnosticsDefaultInformation = { fg = palette.info_yellow }, - LspDiagnosticsDefaultInfo = { fg = palette.info_yellow }, - LspDiagnosticsDefaultHint = { fg = palette.hint_blue }, - LspDiagnosticsVirtualTextError = { fg = palette.error_red }, - LspDiagnosticsVirtualTextWarning = { fg = palette.warning_orange }, - LspDiagnosticsVirtualTextInformation = { fg = palette.info_yellow }, - LspDiagnosticsVirtualTextInfo = { fg = palette.info_yellow }, - LspDiagnosticsVirtualTextHint = { fg = palette.hint_blue }, - LspDiagnosticsFloatingError = { fg = palette.error_red }, - LspDiagnosticsFloatingWarning = { fg = palette.warning_orange }, - LspDiagnosticsFloatingInformation = { fg = palette.info_yellow }, - LspDiagnosticsFloatingInfo = { fg = palette.info_yellow }, - LspDiagnosticsFloatingHint = { fg = palette.hint_blue }, - DiagnosticSignError = { fg = palette.error_red }, - DiagnosticSignWarning = { fg = palette.warning_orange }, - DiagnosticSignWarn = { fg = palette.gray }, - DiagnosticSignInformation = { fg = palette.info_yellow }, - DiagnosticSignInfo = { fg = palette.gray }, - DiagnosticSignHint = { fg = palette.gray }, - LspDiagnosticsSignError = { fg = palette.error_red }, - LspDiagnosticsSignWarning = { fg = palette.warning_orange }, - LspDiagnosticsSignInformation = { fg = palette.info_yellow }, - LspDiagnosticsSignInfo = { fg = palette.info_yellow }, - LspDiagnosticsSignHint = { fg = palette.hint_blue }, - LspDiagnosticsError = { fg = palette.error_red }, - LspDiagnosticsWarning = { fg = palette.warning_orange }, - LspDiagnosticsInformation = { fg = palette.info_yellow }, - LspDiagnosticsInfo = { fg = palette.info_yellow }, - LspDiagnosticsHint = { fg = palette.hint_blue }, - DiagnosticUnderlineError = { - sp = palette.error_red, - undercurl = true, - }, - DiagnosticUnderlineWarn = { sp = palette.warning_orange }, - DiagnosticUnderlineInfo = { sp = palette.hint_blue }, - DiagnosticUnderlineHint = { sp = palette.hint_blue }, LspReferenceRead = { bg = "#36383F" }, LspReferenceText = { bg = "#36383F" }, LspReferenceWrite = { bg = "#36383f" }, + + DiagnosticError = { fg = palette.error }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default + DiagnosticWarn = { fg = palette.warning }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default + DiagnosticInfo = { fg = palette.info }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default + DiagnosticHint = { fg = palette.hint }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default + + DiagnosticVirtualTextError = { fg = palette.error }, -- Used for "Error" diagnostic virtual text + DiagnosticVirtualTextWarn = { fg = palette.warning }, -- Used for "Warning" diagnostic virtual text + DiagnosticVirtualTextInfo = { fg = palette.info }, -- Used for "Information" diagnostic virtual text + DiagnosticVirtualTextHint = { fg = palette.hint }, -- Used for "Hint" diagnostic virtual text + + DiagnosticUnderlineError = { undercurl = true, sp = palette.error }, -- Used to underline "Error" diagnostics + DiagnosticUnderlineWarn = { undercurl = true, sp = palette.warning }, -- Used to underline "Warning" diagnostics + DiagnosticUnderlineInfo = { undercurl = true, sp = palette.info }, -- Used to underline "Information" diagnostics + DiagnosticUnderlineHint = { undercurl = true, sp = palette.hint }, -- Used to underline "Hint" diagnostics + + LspSignatureActiveParameter = { bg = palette.alt_bg, bold = true }, + LspCodeLens = { fg = palette.comment }, } end diff --git a/lua/no-clown-fiesta/highlight-group/neogit.lua b/lua/no-clown-fiesta/highlight-group/neogit.lua index 40917c1..14d9fb1 100644 --- a/lua/no-clown-fiesta/highlight-group/neogit.lua +++ b/lua/no-clown-fiesta/highlight-group/neogit.lua @@ -3,7 +3,7 @@ local M = {} function M.highlight(palette) return { NeogitNotificationInfo = { fg = palette.sign_add }, - NeogitNotificationWarning = { fg = palette.warning_orange }, + NeogitNotificationWarning = { fg = palette.warning }, NeogitNotificationError = { fg = palette.sign_delete }, NeogitDiffAddHighlight = { fg = palette.sign_add, diff --git a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua index 21cdc25..c110435 100644 --- a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua +++ b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua @@ -19,19 +19,19 @@ function M.highlight(palette) NvimTreeGitNew = { fg = palette.cyan }, NvimTreeGitRenamed = { fg = palette.cyan }, NvimTreeGitDeleted = { fg = palette.sign_delete }, - NvimTreeGitMerge = { fg = palette.info_yellow }, - NvimTreeGitDirty = { fg = palette.info_yellow }, + NvimTreeGitMerge = { fg = palette.info }, + NvimTreeGitDirty = { fg = palette.info }, NvimTreeSymlink = { fg = palette.cyan }, 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 }, NvimTreeStatusNC = { fg = palette.alt_bg, bg = palette.alt_bg }, - NvimTreeLspDiagnosticsErr = { fg = palette.error_red }, - NvimTreeLspDiagnosticsError = { fg = palette.error_red }, - NvimTreeLspDiagnosticsHint = { fg = palette.hint_blue }, - NvimTreeLspDiagnosticsInformation = { fg = palette.info_yellow }, - NvimTreeLspDiagnosticsWarning = { fg = palette.warning_orange }, + NvimTreeLspDiagnosticsErr = { fg = palette.error }, + NvimTreeLspDiagnosticsError = { fg = palette.error }, + NvimTreeLspDiagnosticsHint = { fg = palette.hint }, + NvimTreeLspDiagnosticsInformation = { fg = palette.info }, + NvimTreeLspDiagnosticsWarning = { fg = palette.warning }, } end diff --git a/lua/no-clown-fiesta/highlight-group/telescope.lua b/lua/no-clown-fiesta/highlight-group/telescope.lua index 1a0971c..24e573c 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, bold = true }, + TelescopeMatching = { fg = palette.info, 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 fb3d1c1..6217cb7 100644 --- a/lua/no-clown-fiesta/highlight-group/treesitter.lua +++ b/lua/no-clown-fiesta/highlight-group/treesitter.lua @@ -36,7 +36,7 @@ function M.highlight(palette, options) ["@number"] = { fg = palette.red }, ["@boolean"] = { fg = palette.red }, ["@character"] = { fg = palette.light_green }, - ["@error"] = { fg = palette.error_red }, + ["@error"] = { fg = palette.error }, ["@function"] = vim.tbl_extend( "force", { fg = palette.cyan }, @@ -75,7 +75,7 @@ function M.highlight(palette, options) ["@keyword.operator"] = { fg = palette.gray_blue }, ["@structure"] = { fg = palette.purple_test }, ["@strong"] = { fg = palette.medium_gray }, - ["@query.linter.error"] = { fg = palette.warning_orange }, + ["@query.linter.error"] = { fg = palette.warning }, } end |