-
Notifications
You must be signed in to change notification settings - Fork 21
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
Syntax highlighting breaks after < and <= operators #31
Comments
It seems that it thinks that < is the beginning of a scope (an opening brace). As you can see, it highlights the text after > and the original < is highlighted as the corresponding brace for the > sign. vscode version: 1.29.1 |
|
I can verify that temporarily changing the symbols for "<" and ">" on lines 831 and 841 of Kotlin.tmLanguage causes the problem to go away. It might work, therefore, just to remove the detection of the generic begin/end chars (at least as a stop-gap solution). But I am not sure of the exact changes to this file that would be required to do that. |
Fix #31 - Fix "Syntax highlighting breaks after < and <= operators"
Issue still present, check out this file, commit d2e703c, line 63 Kotlin v1.7.0 |
code
vscode version: 1.28.1 built from source
kotlin-language version: 1.7.0 (from marketplace)
OS: Ubuntu 18.04
The text was updated successfully, but these errors were encountered: