Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate changes made in Helix highlight queries #356

Merged
merged 1 commit into from
Feb 18, 2024

Commits on Feb 18, 2024

  1. Incorporate changes made in Helix highlight queries

    In helix-editor/helix#9586, the Helix editor added highlighting for the
    `any` keyword.
    
    However, while reviewing that, I noticed that both `some` and `any`
    should be more specific: these keywords are legal as identifiers, but
    should not be highlighted as identifiers when they are keywords.
    
    For instance, I can write:
    ```
    let any: any Protocol = AnyImplementation()
    ```
    
    In this example, only the second `any` should be highlighted.
    
    See discussion on #351
    alex-pinkus committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    1aa6284 View commit details
    Browse the repository at this point in the history