aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
...
* highlight(scala): update to fix potential crash (#5576)eugene yokota2023-01-19
| | | | | | | | | | | | * highlight(scala): update to fix crash tree-sitter-scala has recently add a fix to workaround segv crashes in other editors. Not sure if it happens to Helix as well, but it's probably a good idea to use the latest. * highlight(scala): String interpolator support This captures String interpolator as `function` Co-authored-by: Chris Kipp <ckipp@pm.me>
* highlight(scala): update the Scala highlight queries (#5546)eugene yokota2023-01-16
| | | | | | | | | | There have been a lot of changes in tree-sitter/tree-sitter-scala, including partial support for Scala 3 syntax and breaking changes in some of the nodes. This bumps up the grammar to the latest, and adjusts the queries. Co-authored-by: Anton Sviridov <keynmol@gmail.com> Co-authored-by: Chris Kipp <ckipp@pm.me>
* Language support for dhallClément Delafargue2023-01-13
| | | | https://dhall-lang.org/
* Update tree-sitter-cpp, support injections in tagged rawstrings (#5457)Sam McCall2023-01-11
| | | | | | | | The grammar now exposes the delimiter of raw-strings. We can now inject the inner grammar in cases like: const char* script = R"js( alert('hello world!'); )js";
* Add language support for ponylang (#5416)Matthias Wahl2023-01-11
| | | See https://www.ponylang.io
* Fix Broken Attribute Highlights (#5349)Chickenkeeper2023-01-09
| | | | | | | * Update highlights.scm * Update highlights.scm * Update themes.md
* Use tree-sitter-ruby for crystal (#5205)Michael Davis2023-01-08
|
* Improve indent queries for python in specific cases (#5332)Triton1712023-01-07
| | | where the tree-sitter completely fails to parse incomplete code.
* Add runtime queries for `tfvars` (based on `hcl`) (#5396)Dom H2023-01-06
|
* Update Prisma tree-sitter for view support (#5417)Julius de Bruijn2023-01-06
|
* Allow custom preprocessors for 'vue' injections (#5268)farwyler2022-12-27
|
* Fix HTML injection within markdown (#5265)Michael Davis2022-12-23
| | | | | | | HTML nodes should be combined injections in the markdown block grammar. When nodes are together the highlighting works properly but when there is markdown content between HTML nodes like in a `<details>` tag, the highlighting of the closing tag breaks since tree-sitter-html looks for opening and closing tags.
* Fix & Tweak Rust's Syntax Highlighting (#5238)Chickenkeeper2022-12-21
|
* Add missing comment injection for nix (#5208)farwyler2022-12-19
|
* Add support for MATLAB/Octave files (#5192)g-s-k2022-12-17
|
* Crystal language support (#4993)Jonas Everaert2022-12-17
|
* Add Bash indents (#5149)gavincrawford2022-12-14
|
* Add Mermaid.js for markdown support (#5147)Erasin2022-12-14
|
* Update tree-sitter-schemeBlaž Hrastnik2022-12-12
|
* Add Haskell text objects (#5061)Ollie Charles2022-12-10
|
* Add support for the BibTeX file format (#5064)Felipe S. S. Schneider2022-12-09
|
* feat(highlights): go builtin funcs and types (#5010)Matouš Dzivjak2022-12-05
| | | | Add highlight scopes for golang built-in functions and types. Based on https://pkg.go.dev/builtin.
* Add basic support for common lispBlaž Hrastnik2022-12-05
|
* Add support for single-line comments to scss (#5003)farwyler2022-12-04
|
* feat(lang): bump tree-sitter-go (#4969)Matouš Dzivjak2022-12-02
| | | | | | Update tree-sitter-go to latest with updated support for generics. See: https://github.com/tree-sitter/tree-sitter-go/compare/0fa917a7022d1cd2e9b779a6a8fc5dc7fad69c75..05900faa3cdb5d2d8c8bd5e77ee698487e0a8611 for full diff.
* Fix file-types declaration for racket (#4915)Michael Davis2022-11-30
| | | | | | | Both the racket and scheme entries used the rkt file-extension. This commit removes that entry for scheme and so that the racket entry takes precedence. We explicitly point to the scheme grammar now and setup queries that inherit from scheme. This should enable using the racket language server configuration.
* fix(grammar): Add `block_comment` and `comment_environment` injection for ↵Erik Bünnig2022-11-28
| | | | latex comments (#4922)
* Update CSS syntax highlighting (#4882)Chickenkeeper2022-11-28
|
* Fix Go variable indentation (#4906)gavincrawford2022-11-27
|
* Update tree-sitter-java and add Java textobjects (#4886)Lennard Hofmann2022-11-26
|
* Update tree-sitter-gleamMichael Davis2022-11-24
| | | | | | | This update includes a handful of fixes, a new binary concatenation operator (already highlighted by the `binary_operator` rule), and a new `use` language construct. The nodes are backwards compatible but this update introduces two new nodes for highlighting: `use` and `<-`.
* Update tree-sitter-heexMichael Davis2022-11-24
| | | | | tree-sitter-heex split out the ending_expression_value from the partial_expression value which can help with indentation.
* Add parameter highlights to ErlangMichael Davis2022-11-24
| | | | | | | This doesn't work robustly (within pattern matches). Only regular bindings are highlighted as parameters. In order to highlight all parameters even in matches, we would need an arbitrary nesting operator in queries which doesn't exist yet in tree-sitter.
* Improve Edoc highlighting within ErlangMichael Davis2022-11-24
| | | | | | This highlights edoc within Erlang comments. The trick was to have the Erlang grammar consume newlines and then give them to EDoc in the injection to use so that line-wise elements could be parsed accurately.
* Add QML language support (#4842)alois312022-11-23
| | | Fixes https://github.com/helix-editor/helix/issues/2771
* Implement simple indents.scm for Elixir (#4821)Sora2022-11-21
|
* Fix broken html doctype highlighting (#4829)Chickenkeeper2022-11-20
|
* Update tree-sitter-cmake (#4809)ath32022-11-18
|
* Improvements to Meson syntax. (#4572)Garrett D'Amore2022-11-16
| | | | Co-authored-by: Garrett D'Amore <garrett.damore@weka.io> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Remove Statement in Zig indentation query (#4745)Sora2022-11-15
|
* Add support for Bicep files (#4403)Jonathan2022-11-15
|
* fix: Outdated Rust queries after TS updateAlexis (Poliorcetics) Bourget2022-11-12
| | | | Ref: https://github.com/tree-sitter/tree-sitter-rust/commit/3ddebf46e6fe5e27fa03dc07a829a766b9979c8d
* Update typescript grammar and queries (#4703)Gabriel Dinner-David2022-11-11
| | | | | | | | | * fix(grammars): update treesitter grammar and queries * add override keyword * Update runtime/queries/typescript/highlights.scm Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* [rust highlights] fix scoped attribute macro matching (#4659)Anton Romanov2022-11-08
| | | | | | | Without this scoped attribute macros are not matched as macros. Eg ``` #[path::macro] ```
* Improve Ruby TextObjects (#4601)Danillo Melo2022-11-08
|
* Update Julia grammar, queries (#4588)ChrHorn2022-11-05
|
* Add indentation for Python pattern matchingYuriy2022-11-02
| | | | Add indentation for `match` and `case`.
* Add syntax highlighting for Python pattern matchingYuriy2022-11-02
| | | | | Add syntax highlighting for `match` and `case` keywords in Python (https://peps.python.org/pep-0636/).
* Fix D unittest injection query. (#4562)Garrett D'Amore2022-11-02
|
* Added missing keywords to wat (wasm) hightlights (#4542)Jonas Everaert2022-11-01
| | | added "if", "then", "else", "block", "loop", "end" and "mut" to the wat highlights.