aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/make
Commit message (Collapse)AuthorAge
* bash, make, css: highlight and indent queries improvement (#9393)woojiq2024-01-22
| | | | | | | | | | | | | | * 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.
* Update queries for makefile (#6339)Erasin Wang2023-03-17
| | | | | - update variable and ref as paramter - add target as constant - add inject for shell_text
* Fix some typos (#2978)A-Walrus2022-07-06
|
* tree sitter comments injections (#1527)Mathis Brossier2022-01-20
| | | | | | | | | | | * tree sitter comments injections * trailing newlines & julia fix * Update runtime/queries/julia/injections.scm Co-authored-by: Michael Davis <michael.davis@nfiindustries.com> Co-authored-by: Michael Davis <michael.davis@nfiindustries.com>
* feat: add tree-sitter-makeEric Crosson2022-01-08
This commit adds syntax highlighting for GNU Make[^1] makefiles via tree-sitter-make[^2]. [^1]: https://www.gnu.org/software/make/ [^2]: https://github.com/alemuller/tree-sitter-make