elixir-lsp / elixir-lsp/vscode-elixir-ls

[Feature request] Distinct scopes for atoms and keywords

Open
#445 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
599
Forks
108
PR merge metrics
No merged PRs in 30d

Description

### 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.

Screenshot 2024-12-29 at 08 35 52

`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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.