{
"enabledFeatures": {
"codeActions": true,
"diagnostics": false,
"documentHighlights": true,
"documentLink": true,
"documentSymbols": true,
"foldingRanges": true,
"formatting": true,
"hover": true,
"inlayHint": true,
"onTypeFormatting": true,
"selectionRanges": true,
"semanticHighlighting": true,
"completion": true,
"codeLens": false,
"definition": true,
"workspaceSymbol": true,
"signatureHelp": true,
"typeHierarchy": true
},
"featuresConfiguration": {},
"addonSettings": {},
"rubyVersionManager": {
"identifier": "auto"
},
"customRubyCommand": "",
"formatter": "none",
"linters": null,
"bundleGemfile": "",
"testTimeout": 30,
"pullDiagnosticsOn": "both",
"useBundlerCompose": false,
"bypassTypechecker": false,
"rubyExecutablePath": "",
"indexing": {},
"erbSupport": true,
"featureFlags": {},
"sigOpacityLevel": "1"
}
Description
Ruby LSP Information
Ruby LSP Information
VS Code Version
1.115.0
Ruby LSP Extension Version
0.10.2
Ruby LSP Server Version
0.26.9
Ruby LSP Add-ons
Ruby Version
3.3.5
Ruby Version Manager
chruby
Installed Extensions
Click to expand
Ruby LSP Settings
Click to expand
Workspace
{}User
{ "enabledFeatures": { "codeActions": true, "diagnostics": false, "documentHighlights": true, "documentLink": true, "documentSymbols": true, "foldingRanges": true, "formatting": true, "hover": true, "inlayHint": true, "onTypeFormatting": true, "selectionRanges": true, "semanticHighlighting": true, "completion": true, "codeLens": false, "definition": true, "workspaceSymbol": true, "signatureHelp": true, "typeHierarchy": true }, "featuresConfiguration": {}, "addonSettings": {}, "rubyVersionManager": { "identifier": "auto" }, "customRubyCommand": "", "formatter": "none", "linters": null, "bundleGemfile": "", "testTimeout": 30, "pullDiagnosticsOn": "both", "useBundlerCompose": false, "bypassTypechecker": false, "rubyExecutablePath": "", "indexing": {}, "erbSupport": true, "featureFlags": {}, "sigOpacityLevel": "1" }Reproduction steps
Open https://github.com/ruby/net-imap/blob/de685f91a4a4cc75eb80da898c2bf8af08d34819/test/net/imap/test_response_reader.rb in VSCode and see:

FWIW, this also happens with ruby-lsp disabled.
Changing
16 << 10to16 << 10works around it, but I expect Ruby LSP to have correct syntax highlighting.