aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
* Add rainbow tree-sitter highlightsJJ2023-11-01
| | | | | | | ref: https://github.com/helix-editor/helix/issues/695 ref: https://github.com/helix-editor/helix/pull/2857 Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* languages: add templ (#8540)rsteube2023-10-21
|
* bump tree-sitter-haskell and update queries (#8558)Ryan Mehri2023-10-17
|
* Add 'while_statement' to bash indents (#8528)Petr Gajdůšek2023-10-13
|
* Update purescript-tree-sitter grammar (#8527)NomisIV2023-10-13
|
* bump tree-sitter-sql (#8464)DS/Charlie2023-10-09
| | | | | | | * bump tree-sitter-sql * update highlights classes to helix flavour * replace lua-match with match
* add support for json5 (#8473)DS/Charlie2023-10-06
| | | | | * add json5 language * docgen
* update go highlight queries (#8399)Ben Haines2023-09-26
|
* Add Unicode support to PureScript's highlight queries (#8338)postsolar2023-09-20
|
* Update Unison highlights (#8315)zetashift2023-09-17
|
* Use Maskhjarnas tree-sitter-purescript (#8306)NomisIV2023-09-17
|
* queries/nix: align match start for language commentspacien2023-09-16
| | | | | This rule failed to override other ones because it started its matching later.
* queries/nix: add injection rule for python test scriptspacien2023-09-16
|
* add GNU assembler (gas) support #8291)Cyrill Schenkel2023-09-16
|
* scheme: Highlight abbreviationsBlaž Hrastnik2023-09-11
|
* Add additional YAML injections (#8217)Galen Abell2023-09-10
|
* re-add indent and textobject queries for perl (#7947)Jesse Luehrs2023-09-10
| | | | | | | | | * bump tree-sitter-perl version need some grammar tweaks for the indent queries to function properly * add indent queries for perl * add textobject queries for perl
* Update tree-sitter-blueprint (#8161)Ivan Molodetskikh2023-09-04
|
* add gemini language support (#8070)Sol Fisher Romanoff2023-08-26
|
* Highlight Dart 3 `sealed` and `base` keywords (#7974)arslee072023-08-23
|
* update fsharp tree-sitter (#8024)kaashyapan2023-08-21
|
* Update tree-sitter-robot (#7970)Tomas Sandven2023-08-18
| | | | | | | | | | | | | * Update tree-sitter-robot * Update Robot highlights query for Helix * Change @comment.single to @comment Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* markdown.inline: Add `injection.combined` to html tag (#7960)Pham Huy Hoang2023-08-16
| | | | | Problem: Closing tags for markdown is sometimes not highlighted Solution: Add `injection.combined` to create a valid syntax tree for highlighting
* add strace highlighting (#7928)sigmaSd2023-08-15
| | | | | * feat: add strace tree sitter * f
* fix formatting in the rust textobject query fileJesse Luehrs2023-08-14
| | | | | looks like two lines were unintentionally joined - it doesn't appear to affect the functionality, but it's confusing to read
* Update slint grammar (#7893)Erasin Wang2023-08-13
|
* Add pod highlighting (#7907)Jesse Luehrs2023-08-13
|
* Improve C, Rust & Python indent queries & add @align captures.Daniel Ebert2023-08-11
|
* Fix YAML auto indentSkyler Hawthorne2023-08-10
| | | | | | | | | YAML indents queries are tweaked to fix auto indent behavior. A new capture type `indent.always` is introduced to address use cases where combining indent captures on a single line is desired. Fixes #6661
* Jinja language family syntax support (#7233)Ivan Isekeev2023-08-09
| | | | | | | * feat: add jinja language support * feat: add nunjucks language support * feat: add to lang support book jinja and nunjucks languages
* feat: add todo.txt tree-sitter (#7835)Jan91032023-08-09
|
* Update tree-sitter grammar for nu (#7873)Artemiy2023-08-09
| | | | | | | | | | | * Update tree-sitter grammar for nu Change tree-sitter grammar for nushell to 'officially' maintained by nushell project https://github.com/nushell/tree-sitter-nu. Update to the latest version. Replace queries with supported * Restore injection queries for nu Restore injection.scm queries for nushell tree-sitter grammar
* Add Unison support (#7724)zetashift2023-08-08
|
* build(tree-sitter): update javascript, typescript and tsx (#7852)woojiq2023-08-07
| | | | | | | | | | | | | * build(tree-sitter): update javascript, typescript and tsx * update revision of tree-sitter parsers for these languages. * rename `?.` to `optional_chain`, introduced in tree-sitter/tree-sitter-javascript@186f2adbf790552b354a9ba712341c7d48bdbccd. * fix(highlight): change jsx queries to match latest tree-sitter Latest tree-sitter/tree-sitter-javascript@bb1f97b643b77fc1f082d621bf533b4b14cf0c3 added some breaking changes that broke highlighting. * Remove some queries with `nested_identifier`. * Remove deprecated `jsx_fragment` from indent query. * Count `</` and `/>` as a single token.
* Add tree-sitter textobjects queries for bash (#7764)Petr Gajdůšek2023-08-07
| | | | | | This implements function, (calling) argument and comment captures for use in the textobject selections in bash. This also updates the generated docs after adding the textobjects for bash.
* feat(indent): add basic java indentation queries (#7844)woojiq2023-08-07
|
* Improve wren support (#7819)Jummit2023-08-04
|
* Update t32 language queries to version 2.2.1 (#7811)Christoph Sax2023-08-04
| | | | | | | | | | | | | | Version 2.2.1 of the grammar adds extended support for HLL (C, C++,..) expressions. Quite a few node types were added, renamed or removed in the process. This change brings the highlight queries in sync with the ones found in the repository of the grammar. The highlighting tests "look" okay after updating the queries. Recently, Codeberg had some reliability issues. That is why the language is now using the mirror repository on GitLab as source instead. Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
* Bump the version of Hare's grammar (#7784)J. Brock2023-08-04
|
* Update tree-sitter-zig (#7803)voroskoi2023-08-02
|
* replace new lsp for vlang (#7760)lydiandy2023-07-30
| | | | | | | | | | | | | | | | | | | | | * fix vlang grammar fetch and build fail * update highlights.scm for v-analyzer * Update languages.toml Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Update runtime/queries/v/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * update scm for new lsp * gen doc lang-support.md --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* feat: update prql parser (#7771)Matthias Q2023-07-28
|
* Add wren support (#7765)Jummit2023-07-28
|
* Tune regex highlights for usage in promptsMichael Davis2023-07-27
| | | | | | | | | | | Since regex is almost always injected into other languages, `pattern_character`s will inherit the highlight for the structure that injects them (for example `/foo/` in JavaScript or `~r/foo/` in Elixir). This removes the string highlight when used in the prompt. We also add `ERROR` node highlighting so that errors in regex syntax appear in the prompt. This resolves a TODO in the `regex_prompt` function about highlighting errors in the regex.
* fix incorrect predicate in comment highlights (#7732)Pham Huy Hoang2023-07-25
|
* switch to https://github.com/tree-sitter-perl/tree-sitter-perl (#7644)Jesse Luehrs2023-07-17
|
* Add fsharp language support (#7619)kaashyapan2023-07-15
|
* Support inlay-hints for svelteserver. (#7622)Erasin Wang2023-07-14
|
* Update Typescript, TSX and Svelte grammar, to latest tag (#6874)Jeppe Christiansen2023-07-14
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add language support for persistent library syntax (#7261)Borys Lykah2023-07-09
|