<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/rust/injections.scm, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/rust/injections.scm?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/rust/injections.scm?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-03-08T19:13:17Z</updated>
<entry>
<title>fix(rust): inject regex into RegexBuilder instead of ByteRegexBuilder</title>
<updated>2025-03-08T19:13:17Z</updated>
<author>
<name>may</name>
<email>m4rch3n1ng@gmail.com</email>
</author>
<published>2025-03-08T19:06:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ffd284c4706d91c0d94916995f584b22ce89afcb'/>
<id>urn:sha1:ffd284c4706d91c0d94916995f584b22ce89afcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(rust): inject html and json in macro invocations (#7715)</title>
<updated>2025-03-08T17:49:06Z</updated>
<author>
<name>ginnyTheCat</name>
<email>ginnythecat@lelux.net</email>
</author>
<published>2025-03-08T17:49:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f0c17dc8597eceb859aa77ab4247a11242b3a6a2'/>
<id>urn:sha1:f0c17dc8597eceb859aa77ab4247a11242b3a6a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(rust): regex injections, highlights</title>
<updated>2024-10-27T10:51:33Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-10-24T04:18:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=00d219068385a4aa80859d4606ad6e03af6faa83'/>
<id>urn:sha1:00d219068385a4aa80859d4606ad6e03af6faa83</id>
<content type='text'>
**Problem:** Rust's regex injections were not applied since the string
content is behind a `(string_content)` node, and the injections were
applied to the parent node without the `include-children` directive.

**Solution:** Apply the injections to the string content. Also highlight
them accordingly.
</content>
</entry>
<entry>
<title>refactor(format): drop extra indentation for field</title>
<updated>2024-03-21T14:51:26Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-03-21T11:44:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=722617e6726c1508adadf83d531f54987c703be0'/>
<id>urn:sha1:722617e6726c1508adadf83d531f54987c703be0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(rust): add more regex injection queries</title>
<updated>2024-02-25T14:05:08Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2024-02-25T07:14:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6f1f407d712d1c451451db74ff3a6eb72190548d'/>
<id>urn:sha1:6f1f407d712d1c451451db74ff3a6eb72190548d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(slint)!: change to the official parser (#6027)</title>
<updated>2024-02-09T13:46:57Z</updated>
<author>
<name>Tobias Hunger</name>
<email>tobias.hunger@gmail.com</email>
</author>
<published>2024-02-09T13:46:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0f3183dda8df688a77223b9762475dee5b27271f'/>
<id>urn:sha1:0f3183dda8df688a77223b9762475dee5b27271f</id>
<content type='text'>
This change replaces the slint parser written and maintained by @jrmoulton
with the official one hosted in the slint-ui organization on github.

A huge thank you to @jrmoulton for all his work on the tree-sitter
parser!

---------

Co-authored-by: jrmoulton &lt;jaredmoulton3@gmail.com&gt;</content>
</entry>
<entry>
<title>fix(rust): Follow upstream injections</title>
<updated>2024-01-24T03:18:32Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-24T03:11:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=41128a7724ec40a33ce01b133aec1e9928ca4312'/>
<id>urn:sha1:41128a7724ec40a33ce01b133aec1e9928ca4312</id>
<content type='text'>
tree-sitter-rust and helix both have `injection.include-children` for
the pattern in this PR. So it's best to changed to match the intended
results
</content>
</entry>
<entry>
<title>chore: format queries</title>
<updated>2024-01-21T14:55:02Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-21T13:05:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=77e298e4de607d69aa7f37dc6dcba6aee131ac7f'/>
<id>urn:sha1:77e298e4de607d69aa7f37dc6dcba6aee131ac7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore(rust): tweak injections, add json macro injection</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-11-29T00:10:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8c629a9327e13b77d4024c015aa120368d01cc86'/>
<id>urn:sha1:8c629a9327e13b77d4024c015aa120368d01cc86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: query formatting</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-06T06:05:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9'/>
<id>urn:sha1:57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add Doxygen</title>
<updated>2023-08-26T08:58:36Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-08-25T09:02:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a4f4fcdd3ef1b36ebdad72741bbd85dd9ef5013e'/>
<id>urn:sha1:a4f4fcdd3ef1b36ebdad72741bbd85dd9ef5013e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add re2c</title>
<updated>2023-08-24T06:52:48Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-08-22T06:10:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c58694685d0a4387ea10aeac1932c6afc55bcf3e'/>
<id>urn:sha1:c58694685d0a4387ea10aeac1932c6afc55bcf3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore(injections)!: update injection syntax to 0.9</title>
<updated>2023-08-12T15:34:15Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-05-03T10:07:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=78b54eb7f6a9956d25a3911fa0dfd0cabfe2a4c5'/>
<id>urn:sha1:78b54eb7f6a9956d25a3911fa0dfd0cabfe2a4c5</id>
<content type='text'>
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter

- update health check
- update doc
</content>
</entry>
<entry>
<title>injections(rust): inject regex into `Regex::new`</title>
<updated>2021-12-14T13:28:26Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-12-13T19:59:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=225cac5e6b762bf5223d96df20d4b2ff658f5f34'/>
<id>urn:sha1:225cac5e6b762bf5223d96df20d4b2ff658f5f34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rust: inject html to html! macro</title>
<updated>2021-06-21T06:52:38Z</updated>
<author>
<name>tami5</name>
<email>65782666+tami5@users.noreply.github.com</email>
</author>
<published>2021-06-20T18:20:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=89b1254cde93f7cc590ea9d0591f0317f8cbd106'/>
<id>urn:sha1:89b1254cde93f7cc590ea9d0591f0317f8cbd106</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"</title>
<updated>2021-05-07T14:51:57Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-04-30T18:22:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=67f08570152792c6a4f0815e71a0093ad97f2725'/>
<id>urn:sha1:67f08570152792c6a4f0815e71a0093ad97f2725</id>
<content type='text'>
This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
</content>
</entry>
<entry>
<title>Comment: use `@combined` to create just one tree per buffer (#1252)</title>
<updated>2021-04-28T12:19:07Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-04-28T12:19:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4a7a713c527f57c355bc817f16fc6d955b8cce9b'/>
<id>urn:sha1:4a7a713c527f57c355bc817f16fc6d955b8cce9b</id>
<content type='text'>
* Comment: use `@combined` to create just one tree per buffer

There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251

* Add injections for scss

* Fix jsonc

* Combine jsdoc</content>
</entry>
<entry>
<title>Add comment parser to highlight comment tags (#893)</title>
<updated>2021-03-12T16:21:46Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-03-12T16:21:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e4083fc8e11e6585f53d62eb71778cc2af464fad'/>
<id>urn:sha1:e4083fc8e11e6585f53d62eb71778cc2af464fad</id>
<content type='text'>
Closes #236</content>
</entry>
<entry>
<title>started branch</title>
<updated>2021-01-07T00:31:39Z</updated>
<author>
<name>Brian Shu</name>
<email>littlebubu.shu@gmail.com</email>
</author>
<published>2021-01-06T19:25:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=005a3ca7f106b0f346518a8108d0ffbffdaf0bd9'/>
<id>urn:sha1:005a3ca7f106b0f346518a8108d0ffbffdaf0bd9</id>
<content type='text'>
</content>
</entry>
</feed>
