aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
...
* Add textobject queries for protobuf grammar. (#9184)Ryan Roden-Corrent2024-01-08
| | | | | | | | | | | Given `message Foo {string s = 1;}` - `mat` selects `message Foo {string s = 1}` - `mit` selects `{string s = 1;}` Given `service SearchService { rpc Search(Req) returns (Resp); } - `mit` or `mat` selects `Req` or `Resp` - `mif` or `maf` selects `rpc Search(Req) returns (Resp);` - `mit` selects { rpc Search(Req) returns (Resp); }` - `mat` selects `service SearchService { rpc Search(Req) returns (Resp); }`
* Add textobject queries for Scala (#9191)Jaakko Paju2024-01-08
|
* Add HOCON language support (#9203)Jaakko Paju2024-01-08
| | | | | | | | | | | | | | | * Add HOCON language support * Remove error query Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Change include query * Fix query error --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* rust highlights: clean up constructor logic (#8957)Rose Hudson2024-01-02
| | | | | Enum variants and (tuple) structs are indistinguishable in general, so we mark any PascalCase pattern or expression as a "constructor", which covers all three.
* add smali language support (#9089)Evan Richter2023-12-19
|
* Add support for Agda (#8285)JJ2023-12-16
| | | | | | | | | | | | | | | | | | | | | | | * agda language support (wip) * improve highlights * disable agda-language-server * minor addendum to documentation * cargo xtask docgen * oh i can just do this neat * minor comment cleanup * upstream updated * imports: missed a spot --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add alignment indent queries for binary & ternary expressions in C.Daniel Ebert2023-12-15
|
* Align arguments in a function call in C.Daniel Ebert2023-12-15
| | | | | | | | | Since the tree-sitter grammar is not very good at parsing function calls while they're being written, this is not yet super useful. However, it prevents the new `hybrid` indent heuristic from choosing these lines as a baseline, making it more robust.
* fix: typo in scm files inside runtime/queries/ (#8630)Susheel Thapa2023-12-15
|
* Add initial support for janet-lang (#9081)Phil2023-12-15
| | | | | * Add initial support for janet-lang * Use default roots for janet-lang
* Update gleam grammar and queries (#9003)Frederick Schwalbe2023-12-05
|
* upgrade tree-sitter-python (#8976)Skyler Hawthorne2023-12-04
| | | supports new syntaxes from Python 3.12
* add log tree-sitter (#8916)Tudyx2023-11-29
| | | | | * add log tree-sitter * better highlight queries
* DBML Language support (#8860)ghashy2023-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DBML language support * DBML language support, highlights.scm added * DBML support * Update runtime/queries/dbml/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Update runtime/queries/dbml/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Update runtime/queries/dbml/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * remove unnecessary block highlight * remove unnecessary line * remove index_block query --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* GN language support (#6969)Dan Field2023-11-18
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update some grammars to a commit where the license file is included (#8691)blinxen2023-11-18
|
* Add indent queries for scheme (and reuse them for common-lisp & racket). (#8720)Triton1712023-11-08
|
* highlights: add type.parameter scope to several more languages (#8718)Joey Hain2023-11-06
| | | | | | | | | | | * typescript * go * haskell * ocaml * kotlin (+ bugfix)
* Update PureScript grammar (#8712)postsolar2023-11-05
|
* 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