aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
* 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
|
* feat(lang): add kdl grammar (#4481)Jaden2022-10-29
|
* language: added vhs (#4486)rsteube2022-10-28
|
* Include unnamed children for html injected into inline markdown (#4478)Matthias Deiml2022-10-27
|
* Add textobjects.scm for zig (#4409)Sora2022-10-21
|
* Add support for D (#4372)Garrett D'Amore2022-10-20
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Upgrade rescript tree sitter & highlights (#4356)Jared Ramirez2022-10-20
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Support Cairo 0.10 syntaxBlaž Hrastnik2022-10-17
|
* C# syntax highlight tweaks (#4285)Chickenkeeper2022-10-15
|
* Fixup Zig Indent Queries (#4281)Sora2022-10-15
|
* c/c++ highlighting: various tweaksSam McCall2022-10-15
| | | | | | | | | | - treat `restrict`/`_Atomic` like `const`/`volatile` => @keyword.storage.modifier - highlight `unsigned int` as builtin => @type.builtin - recognize `static_cast` and friends => @keyword - `template` is a kind of entity like `typename` => @keyword.storage.type - many declaration modifiers have nothing to do with storage/types (explicit, friend, access specifiers, inline in C++) => @keyword - fix floats highlighted as integer => @constant.numeric
* c/c++ highlights: *& are @type or @operator based on context (#4278)Sam McCall2022-10-15
|
* Add support for Purescript language (#4242)Dario Oddenino2022-10-14
|
* Fix C++ syntax highlighting, and improve C & WGSL highlighting (#4079)Chickenkeeper2022-10-14
|
* Update tree-sitter-lua and add textobjects for Lua (#3552)Lennard Hofmann2022-10-12
|
* Rename extend indent captures.Daniel Ebert2022-10-11
| | | | Clarify comments in indent code.
* Add `extend-indented` and `stop-extend` captures for indent queries.Triton1712022-10-11
| | | | Improve and re-enable python indent queries.
* Change twig tree-sitter grammar (#4176)gbprod2022-10-10
|