Skip to content

Commit

Permalink
feat(native_lsp): support inlay hints (#516)
Browse files Browse the repository at this point in the history
* feat(native_lsp): support inlay hints

* `Comment` => `LspInlayHint`?
  • Loading branch information
mrtnvgr committed Jun 21, 2023
1 parent 71b7a86 commit d32b0bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/catppuccin/groups/integrations/native_lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d32b0bb

Please sign in to comment.