From c5b0bdb836be705faded300eced83f7ce155c23a Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Tue, 7 Dec 2021 12:29:11 -0500 Subject: [PATCH] fix: missing styles in native lsp integration --- lua/catppuccin/core/integrations/native_lsp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/catppuccin/core/integrations/native_lsp.lua b/lua/catppuccin/core/integrations/native_lsp.lua index 9ec2985..40f0dca 100644 --- a/lua/catppuccin/core/integrations/native_lsp.lua +++ b/lua/catppuccin/core/integrations/native_lsp.lua @@ -13,10 +13,10 @@ function M.get(cp) LspReferenceRead = { bg = cp.catppuccin12 }, -- used for highlighting "read" references LspReferenceWrite = { bg = cp.catppuccin12 }, -- used for highlighting "write" references -- hightlight diagnostics in numberline - DiagnosticError = { fg = cp.catppuccin5 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default - DiagnosticWarn = { fg = cp.catppuccin8 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default - DiagnosticInfo = { fg = cp.catppuccin9 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default - DiagnosticHint = { fg = cp.catppuccin0 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default + DiagnosticError = { fg = cp.catppuccin5, style = virtual_text.errors }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default + DiagnosticWarn = { fg = cp.catppuccin8, style = virtual_text.warnings }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default + DiagnosticInfo = { fg = cp.catppuccin9, style = virtual_text.information }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default + DiagnosticHint = { fg = cp.catppuccin0, style = virtual_text.hints }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default -- for nvim nightly DiagnosticUnderlineError = { style = underlines.errors, sp = cp.catppuccin5 },