crystal-lang-tools / vscode-crystal-lang

Yet another VSCode extension for Crystal Programming Language
https://marketplace.visualstudio.com/items?itemName=crystal-lang-tools.crystal-lang
MIT License
277 stars 58 forks source link

Non-variables starting with underscore are colored like comments #188

Closed HertzDevil closed 7 months ago

HertzDevil commented 7 months ago

155 applies to names that aren't variables as well:

image

image

I find this quite confusing. Such names are never variables if they are preceded by a . or followed by a (, and the syntax highlighter should exclude those.