zls
zls copied to clipboard
Highlighting broken after if (condition) continue;
Putting the line if (condition) continue;
in a file breaks syntax highlighting after that point in the file. Suggestions and other features still seem to work though. Putting braces around the if body fixes highlighting as a workaround.
Are you using vscode? zls doesn't have anything to do with highlighting. I'm guessing you are using the vscode-zig extension. Maybe you should create an issue over there.
the extension simple acts as a middleman between zls and vscode. zls is definitely responsible for the highlighting
The provided reproduction no longer has the issue with latest zls