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

bash, make, css: highlight and indent queries improvement #9393

Merged
merged 2 commits into from
Jan 22, 2024

Commits on Jan 21, 2024

  1. highlights(bash): rework keywords section

    * Use more specified scope when possible for keywords like @keyword.repeat.
    * Add more keywords like "local" or "unsetenv".
    
    Limitation:
    * Bash doesn't allow you to have a local variable outside of a function, so maybe we need to have better queries to not highlight the local in this case.
    * If we name a function with a keyword (such as unset or local), it will use the highlight scope "keyword" instead of "function".
    woojiq committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    579e55d View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. indents(css, make): add basic queries

    * Despite the fact that queries look simple, they improve indentation in some edge cases that helix couldn't handle correctly by default.
    woojiq committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d1fb459 View commit details
    Browse the repository at this point in the history