-
Notifications
You must be signed in to change notification settings - Fork 178
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
Ruby Syntax Highlighting "class" where not actually a class i.e. "classification" #2269
Comments
Can you screenshot the extension control panel by clicking the And it looks like there are 2 causes for the issue:
@vinistock can you take a look at 2)? I think we may need to replace the first |
Yeah, #2270 should fix it. In addition to the grammar bug, it looks like semantic highlighting is not running. It is turned off by default in VS Code, so you might want to turn it on and review our recommended settings to get the most out of the LSP. |
Here are my ruby settings:
And here is the Ruby LSP output tab when reloading the VSCode window:
|
Thanks all for the quick response. |
Description
When using the latest version of VSCode and the RubyLSP, words that contain
class
are highlighted like an actualclass
.Reproduction steps
Ruby LSP extension: v0.7.8
VSCode version:
Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286
Date: 2024-07-01T18:54:18.541Z (1 wk ago)
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0
class
are highlighted weirdCode snippet or error message
The text was updated successfully, but these errors were encountered: