Skip to content

Commit

Permalink
fix(lsp): remove inlay-hint background color when `transparent_backgr…
Browse files Browse the repository at this point in the history
…ound` is set

Co-authored-by: mrtnvgr <48406064+mrtnvgr@users.noreply.github.com>
  • Loading branch information
ofseed and mrtnvgr committed Jun 21, 2023
1 parent 8156aee commit 1688a1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/catppuccin/groups/integrations/native_lsp.lua
Expand Up @@ -88,7 +88,8 @@ function M.get()
-- 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)),
bg = O.transparent_background and C.none
or 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
}
Expand Down

0 comments on commit 1688a1a

Please sign in to comment.