aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
* replace kdl tree-sitter to fix highlighting (#8652)cgahr2023-11-03
| | | | | | | | | | | | | | | | | | | * replace kdl tree-sitter * kdl: adopt highlights for new tree-sitter * kdl: add indent queries * kdl: add textobjects * kdl: improve syntax highlighting * kdl: update lang-support * kdl: make indents more concise --------- Co-authored-by: Constantin Gahr <constantin.gahr@ipp.mpg.de>
* add highlight scope for type parameters (#8660)Joey Hain2023-11-03
| | | | | * rust: add highlight scope for type parameters * handle optional type parameters
* feat(highlights): add more comment highlights (#8564)RoloEdits2023-10-26
|
* switch to tree-sitter-ron (#8624)Gabriel Dinner-David2023-10-26
|
* Add LPF tree sitter (#8536)Frans Skarman2023-10-26
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add typst language and lsp (#7474)Alexander Brevig2023-10-26
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add rust html injection query (#8603)Ryan Mehri2023-10-26
|
* 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.