Skip to content

[Feature request] Distinct scopes for atoms and keywords #445

Description

@pikeas

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions