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

Provide an option for colourful diagnostic virtual text. #33

Closed
bluz71 opened this issue Jan 11, 2023 · 4 comments
Closed

Provide an option for colourful diagnostic virtual text. #33

bluz71 opened this issue Jan 11, 2023 · 4 comments

Comments

@bluz71
Copy link
Owner

bluz71 commented Jan 11, 2023

Something like g:moonflyColoredDiagnosticVirtualText that does this when set to true:

highlight(0, "DiagnosticVirtualTextError", { link = "MoonflyRed" })
highlight(0, "DiagnosticVirtualTextWarn", { link = "MoonflyYellow" })
highlight(0, "DiagnosticVirtualTextInfo", { link = "MoonflyBlue" })
highlight(0, "DiagnosticVirtualTextHint", { link = "MoonflyWhite" })
@bluz71 bluz71 pinned this issue Jan 11, 2023
@liketoeatcheese
Copy link

liketoeatcheese commented Jan 11, 2023

Thanks for that. What's about the parameter for this highlight? Is there a way to get a full list of available options?
image

@bluz71
Copy link
Owner Author

bluz71 commented Jan 11, 2023

That looks like IncSearch.

@bluz71
Copy link
Owner Author

bluz71 commented Jan 11, 2023

Full list is available via :hi command.

@bluz71
Copy link
Owner Author

bluz71 commented Jan 29, 2023

Done.

@bluz71 bluz71 closed this as completed Jan 29, 2023
@bluz71 bluz71 unpinned this issue Jan 29, 2023
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

No branches or pull requests

2 participants