vscode-elixir-ls
vscode-elixir-ls copied to clipboard
[Feature request] Distinct scopes for atoms and keywords
Environment
- Elixir 1.18.0 (compiled with Erlang/OTP 27)
- MacOS VSCode, ElixirLS 0.25.0
Current behavior
Atoms and keyword lists have identical syntax highlighting.
Inspect Editor Tokens and Scopes shows they both have a token type of constant.language.symbol.elixir.source.elixir.
Expected behavior
Different language constructs should have different scopes. For another example, true, false, and nil have the same scope as well.
It was like that since the first grammar. I won't risk any dramatic changes here. Maybe adding a subtype would be OK, but this would need a custom highlighting scheme