Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lsp): do not link LspInlayHint to Comment directly #517

Merged
merged 3 commits into from Jun 22, 2023

Conversation

ofseed
Copy link
Contributor

@ofseed ofseed commented Jun 21, 2023

The former commit links Comment to LspInalyHint,
I think the foreground color is very proper to use,
but there is a problem,
catppuccin allows users to customize styles of comments and keywords,
if the style of comment was set to italic, which is very commonly used,
style of LspInlayHint would be italic too.

In addition, in order to make the background color of LspInlayHint lighter than
the basic background color for distinction (vscode also does this),
I recommend using the background color of CursorLine.

@nullchilly
Copy link
Member

How it looks currently:

image

@sgoudham Do we need an official style guide for inlay hints?

@ofseed
Copy link
Contributor Author

ofseed commented Jun 21, 2023

Out of topic, I saw that there is a padding-left space next to the parameter hint in your picture above,
This is a bug which fixed recently. It would be best to update your Lua Language Server.

ofseed and others added 2 commits June 21, 2023 15:44
…ound` is set

Co-authored-by: mrtnvgr <48406064+mrtnvgr@users.noreply.github.com>
@nullchilly
Copy link
Member

LGTM

@mrtnvgr mrtnvgr merged commit 5dc566c into catppuccin:main Jun 22, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants