aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/rust/injections.scm
Commit message (Collapse)AuthorAge
* slint: Update treesitter parser and queries (#9551)Tobias Hunger2024-02-07
| | | | | * slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
* Add rust html injection query (#8603)Ryan Mehri2023-10-26
|
* Highlight sqlx's `query_scalar{,_unchecked}` macros as SQL (#6793)Cole Helbling2023-04-27
| | | | | | | * Highlight sqlx's `query_scalar{,_unchecked}` macros as SQL * Update injections.scm * fixup copy-pasta
* Also highlight unchecked variants of the sqlx query methods (#6256)Maxicarlos082023-03-10
|
* Highlight SQL in `sqlx::{query,query_as}!()` in Rust (#3647)Charles Hall2022-09-02
|
* add tree-sitter-regex (#1362)Michael Davis2022-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | * add tree-sitter-regex * adapt regex highlights from upstream * inject regex into elixir sigil_r/2 and sigil_R/2 * generate lang-support docs * capture interesting nodes in character-ranges * make $.character_class captures more consistent * fix fallthrough behavior for character classes * capture pattern characters as 'string' * use latest tree-sitter-regex * set elixir regex injections as combined * add link to upstream queries * inject regex in rust into 'Regex::new' raw string literals
* Add tree-sitter-comment (#1300)Michael Davis2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | * Add tree-sitter-comment Fix #1164 * fix precedence in tree-sitter-comment highlights connects https://github.com/helix-editor/helix/pull/1170 * set injection-regex for comment language * remove comment filetype * fix comment injections for neovim-style injections tags * add comment injections for elixir * remove f.comment * fix spacing in .gitmodules * run 'cargo xtask docgen' Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Import tree sitter queries.Blaž Hrastnik2021-04-08