From d32b0bb5b1033920de5026e326869838aba856ee Mon Sep 17 00:00:00 2001 From: mrtnvgr <48406064+mrtnvgr@users.noreply.github.com> Date: Wed, 21 Jun 2023 10:19:57 +0700 Subject: [PATCH] feat(native_lsp): support inlay hints (#516) * feat(native_lsp): support inlay hints * `Comment` => `LspInlayHint`? --- lua/catppuccin/groups/integrations/native_lsp.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/catppuccin/groups/integrations/native_lsp.lua b/lua/catppuccin/groups/integrations/native_lsp.lua index 623e3849..9d17b03b 100644 --- a/lua/catppuccin/groups/integrations/native_lsp.lua +++ b/lua/catppuccin/groups/integrations/native_lsp.lua @@ -11,7 +11,7 @@ function M.get() local darkening_percentage = 0.095 return { - -- These groups are for the native LSP clienC. Some other LSP clients may + -- These groups are for the native LSP client. Some other LSP clients may -- use these groups, or use their own. Consult your LSP client's -- documentation. LspReferenceText = { bg = C.surface1 }, -- used for highlighting "text" references @@ -84,6 +84,7 @@ function M.get() LspDiagnosticsUnderlineInformation = { style = underlines.information, sp = info }, -- Used to underline "Information" diagnostics LspDiagnosticsUnderlineHint = { style = underlines.hints, sp = hint }, -- Used to underline "Hint" diagnostics LspCodeLens = { fg = C.overlay0 }, -- virtual text of the codelens + LspInlayHint = { link = "Comment" }, -- virtual text of the inlay hints LspInfoBorder = { link = "FloatBorder" }, -- LspInfo border } end