You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/bash
woojiq 52a43bcdfc
bash, make, css: highlight and indent queries improvement (#9393)
* 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".

* 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.
10 months ago
..
highlights.scm bash, make, css: highlight and indent queries improvement (#9393) 10 months ago
indents.scm Add 'while_statement' to bash indents (#8528) 1 year ago
injections.scm AWK support (#3528) 2 years ago
textobjects.scm Add tree-sitter textobjects queries for bash (#7764) 1 year ago