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

Error displayed from LSP is not rendered correctly #184

Open
jaudiger opened this issue May 23, 2024 · 2 comments
Open

Error displayed from LSP is not rendered correctly #184

jaudiger opened this issue May 23, 2024 · 2 comments

Comments

@jaudiger
Copy link

I use this code:

const foo = $"(whoami)"

The LSP tries to show me the issue, but it seems VSCode renders it poorly:

image

@fdncred
Copy link
Collaborator

fdncred commented May 23, 2024

These are clearly ansi escape sequences from our miette errors. I'm not sure why it's showing up like this. It also shows up like this with nu-lsp in neovim.

@jaudiger
Copy link
Author

Ok, at least, the behavior is "consistent" for both IDEs. Unfortunately, I don't know enough about this plugin interface to try resolving the problem.

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