Skip to content

Commit

Permalink
fix(lsp): do not link LspInlayHint to Comment directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ofseed committed Jun 21, 2023
1 parent d32b0bb commit 8156aee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lua/catppuccin/groups/integrations/native_lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ 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
LspInlayHint = {
-- fg of `Comment`
fg = C.overlay0,
-- bg of `CursorLine`
bg = U.vary_color({ latte = U.lighten(C.mantle, 0.70, C.base) }, U.darken(C.surface0, 0.64, C.base)),
}, -- virtual text of the inlay hints
LspInfoBorder = { link = "FloatBorder" }, -- LspInfo border
}
end
Expand Down

0 comments on commit 8156aee

Please sign in to comment.