summaryrefslogtreecommitdiff
path: root/lua/onedarker/LSP.lua
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2021-09-18 13:23:30 +0430
committerGitHub <[email protected]>2021-09-18 13:23:30 +0430
commit65392c553ea6a69053a99fea57c3dee6c48afa75 (patch)
tree5c44c375a2f0e8860bd9555b743c91947b8567f4 /lua/onedarker/LSP.lua
parent87d36102919df97ec15af4c916e37888cee279cd (diff)
feature: vim.api.diagnostics has been moved to vim.diagnostics in neovim head (#1573)
Diffstat (limited to 'lua/onedarker/LSP.lua')
-rw-r--r--lua/onedarker/LSP.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/onedarker/LSP.lua b/lua/onedarker/LSP.lua
index d2d3a870..3d88338f 100644
--- a/lua/onedarker/LSP.lua
+++ b/lua/onedarker/LSP.lua
@@ -11,10 +11,18 @@ local LSP = {
LspDiagnosticsFloatingWarning = { fg = C.warning_orange },
LspDiagnosticsFloatingInformation = { fg = C.info_yellow },
LspDiagnosticsFloatingHint = { fg = C.hint_blue },
+ DiagnosticFloatingError = { fg = C.error_red },
+ DiagnosticFloatingWarn = { fg = C.warning_orange },
+ DiagnosticFloatingInfo = { fg = C.info_yellow },
+ DiagnosticFloatingHint = { fg = C.hint_blue },
LspDiagnosticsSignError = { fg = C.error_red },
LspDiagnosticsSignWarning = { fg = C.warning_orange },
LspDiagnosticsSignInformation = { fg = C.info_yellow },
LspDiagnosticsSignHint = { fg = C.hint_blue },
+ DiagnosticSignError = { fg = C.error_red },
+ DiagnosticSignWarn = { fg = C.warning_orange },
+ DiagnosticSignInfo = { fg = C.info_yellow },
+ DiagnosticSignHint = { fg = C.hint_blue },
LspDiagnosticsError = { fg = C.error_red },
LspDiagnosticsWarning = { fg = C.warning_orange },
LspDiagnosticsInformation = { fg = C.info_yellow },
@@ -23,6 +31,10 @@ local LSP = {
LspDiagnosticsUnderlineWarning = { style = "underline" },
LspDiagnosticsUnderlineInformation = { style = "underline" },
LspDiagnosticsUnderlineHint = { style = "underline" },
+ DiagnosticUnderlineError = { style = "underline" },
+ DiagnosticUnderlineWarn = { style = "underline" },
+ DiagnosticUnderlineInfo = { style = "underline" },
+ DiagnosticUnderlineHint = { style = "underline" },
QuickScopePrimary = { fg = C.purple_test, style = "underline" },
QuickScopeSecondary = { fg = C.cyan_test, style = "underline" },
TelescopeSelection = { fg = C.hint_blue },