aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
...
* 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.
* Update SSH client config grammar & highlight queries (#4538)Sebastian Hoß2022-11-01
| | | Co-authored-by: Sebastian Hoß <seb@hoß.de>
* add highlights for env and ini file formats (#4536)seshotake2022-11-01
|
* Support WIT grammar (#4525)hh95272022-10-31
|
* Update SQL grammar (#4529)seshotake2022-10-30
|
* Update LaTex grammar (#4528)Triton1712022-10-30
| | | Fix comment injection & add highlighting for math delimiters.
* feat(lang): add xml (#4518)Matthew Toohey2022-10-29
|
* feat: Categorize Rust's keywords using more specific scopes (#4510)Poliorcetics2022-10-29
|