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

Weird Diagnostics for eruby #2439

Closed
deniciocode opened this issue Aug 13, 2024 · 6 comments
Closed

Weird Diagnostics for eruby #2439

deniciocode opened this issue Aug 13, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@deniciocode
Copy link

deniciocode commented Aug 13, 2024

Description

When opening a .html.erb file my buffer blows up with a lot of diagnostics.

Reproduction steps

  1. Start LazyVim with mason installed and install ruby-lsp
  2. Restart neovim
  3. Open any .html.erb file
  4. You see a lot of error diagnostics

Code snippet or error message
image

@deniciocode deniciocode added the bug Something isn't working label Aug 13, 2024
@vinistock
Copy link
Member

Thank you for the bug report! This was fixed by #2432.

@deniciocode
Copy link
Author

Thank you for the fix! Keep coding my friends

@deniciocode
Copy link
Author

deniciocode commented Aug 15, 2024

@vinistock after upgrading to 0.17.13. We still have this issue shown
image

image

@st0012
Copy link
Member

st0012 commented Aug 15, 2024

Have you tried the suggestions mentioned in #2432 (comment)?

(Misread the message, please ignore this)

@vinistock
Copy link
Member

This could be a silly question, but did you restart NeoVim after upgrading the server? Unless you have configurations using yet a third language ID to represent ERB files, this should no longer be happening.

@deniciocode
Copy link
Author

This could be a silly question, but did you restart NeoVim after upgrading the server? Unless you have configurations using yet a third language ID to represent ERB files, this should no longer be happening.

Yes, NeoVim was restarted. I restarted all the LSPs and now all looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants