summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlight-group/lsp.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-30 17:10:22 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-30 17:10:22 +0200
commit2bd6f97229e76bf1247cbe766585f5fcbfd327c8 (patch)
tree8d1f0c397ebc28f3fc694b47e2225f3e1cd3df8a /lua/no-clown-fiesta/highlight-group/lsp.lua
parent98ce7ca44e2f4f1a0b532650c098f9398d0049ad (diff)
Move plugin configs to highlight-group dir
Diffstat (limited to 'lua/no-clown-fiesta/highlight-group/lsp.lua')
-rw-r--r--lua/no-clown-fiesta/highlight-group/lsp.lua46
1 files changed, 46 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua
new file mode 100644
index 0000000..ba3f5e5
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/lsp.lua
@@ -0,0 +1,46 @@
+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 },
+ DiagnosticSignInformation = { fg = palette.info_yellow },
+ DiagnosticSignInfo = { fg = palette.info_yellow },
+ DiagnosticSignHint = { fg = palette.hint_blue },
+ 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 },
+ LspDiagnosticsUnderlineError = { style = "underline" },
+ LspDiagnosticsUnderlineWarning = { style = "underline" },
+ LspDiagnosticsUnderlineInformation = { style = "underline" },
+ LspDiagnosticsUnderlineInfo = { style = "underline" },
+ LspDiagnosticsUnderlineHint = { style = "underline" },
+ LspReferenceRead = { bg = "#36383F" },
+ LspReferenceText = { bg = "#36383F" },
+ LspReferenceWrite = { bg = "#36383f" },
+ }
+end
+
+return M