<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/tests/query/injections, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/tests/query/injections?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/tests/query/injections?h=fix%2Flua'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-12-29T15:47:03Z</updated>
<entry>
<title>fix(nix):  refactor nixosTest injections for better performance (#8378)</title>
<updated>2025-12-29T15:47:03Z</updated>
<author>
<name>Marc Jakobi</name>
<email>marc@jakobi.dev</email>
</author>
<published>2025-12-29T15:47:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=7efc1b58a8061d29786860006c7257c90a5196dc'/>
<id>urn:sha1:7efc1b58a8061d29786860006c7257c90a5196dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>perf(nix): replace match with lua-match</title>
<updated>2025-12-26T21:13:05Z</updated>
<author>
<name>Marc Jakobi</name>
<email>marc@jakobi.dev</email>
</author>
<published>2025-12-26T16:35:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=7ba26e7685a58d47e10840617d1d035dcdd5e018'/>
<id>urn:sha1:7ba26e7685a58d47e10840617d1d035dcdd5e018</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): regex injection not working for concatenated strings (#8197)</title>
<updated>2025-10-26T16:25:42Z</updated>
<author>
<name>Lev Velykoivanenko</name>
<email>velykoivanenko.lev@gmail.com</email>
</author>
<published>2025-10-26T16:25:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c53bb10a71a04860758757b190620814b4993a77'/>
<id>urn:sha1:c53bb10a71a04860758757b190620814b4993a77</id>
<content type='text'>
Co-authored-by: Riley Bruins &lt;ribru17@hotmail.com&gt;</content>
</entry>
<entry>
<title>feat(html): use gsub for mimetype lookup</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2025-04-05T10:22:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cbfe8a20c76582b0f2532e94fbd7ea9c80f25455'/>
<id>urn:sha1:cbfe8a20c76582b0f2532e94fbd7ea9c80f25455</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat!: track parser revision in Lua</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-04-14T14:25:28Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c17de5689045f75c6244462182ae3b4b62df02d9'/>
<id>urn:sha1:c17de5689045f75c6244462182ae3b4b62df02d9</id>
<content type='text'>
Problem: Tracking parser revision in lockfile and allowing override
through the parsers module complicates the code. In addition, only
revision changes are handled robustly, not changes to other installation
info.

Solution: Track parser revision in the parsers module directly. Reload
parser table on every install or update call. Support modifying parser
table in a `User TSUpdate` autocommand.
</content>
</entry>
<entry>
<title>injections(nix): add nixosTest.testScript + home-manager nvim config</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Marc Jakobi</name>
<email>marc.jakobi@tiko.energy</email>
</author>
<published>2023-06-28T14:34:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=628d5e442c7c572f4d83bb551154a102eaeeafb3'/>
<id>urn:sha1:628d5e442c7c572f4d83bb551154a102eaeeafb3</id>
<content type='text'>
(+ add Check to mkDerivation bash matches)

(+ add Check to mkDerivation bash matches)
</content>
</entry>
<entry>
<title>More bash injection support for Taskfile (#7805)</title>
<updated>2025-04-07T19:08:22Z</updated>
<author>
<name>Mikkel Mondrup Kristensen</name>
<email>monrad@github.com</email>
</author>
<published>2025-04-07T19:08:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0e21ee8df6235511c02bab4a5b391d18e165a58d'/>
<id>urn:sha1:0e21ee8df6235511c02bab4a5b391d18e165a58d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(yaml): inject bash for taskfiles (#7804)</title>
<updated>2025-04-06T17:09:27Z</updated>
<author>
<name>Anthony Fiddes</name>
<email>11233666+Anthony-Fiddes@users.noreply.github.com</email>
</author>
<published>2025-04-06T17:09:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=205faba1768a6e4c854f156bc6a21a41b242599c'/>
<id>urn:sha1:205faba1768a6e4c854f156bc6a21a41b242599c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(promql): do not use regex for string labels (#7669)</title>
<updated>2025-02-20T11:17:32Z</updated>
<author>
<name>Daniil Leontev</name>
<email>d@leontiev.xyz</email>
</author>
<published>2025-02-20T11:17:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d2ff4006418750aa8b91f280e66bdb623c891c95'/>
<id>urn:sha1:d2ff4006418750aa8b91f280e66bdb623c891c95</id>
<content type='text'>
In Prometheus, label values are treated as strings when used with the
`=` and `!=` operators, and as regular expressions when used with the
`=~` and `!~` operators.

Injecting and then highlighting all label values as regex leads to a
situation where entirely valid **string** label values containing regex
special characters are mistakenly parsed and highlighted as regex. This
results in syntax errors, causing labels to be highlighted incorrectly.

For example, in `foo{bar=~"[a-z]{1,3}"}`, `{` and `}` are regex special
characters, so regex highlighting is expected. However, in
`foo{path="/foo/{id}"}`, `{` and `}` are just part of the string and
have no special meaning, so the whole value should be highlighted as a
string.
</content>
</entry>
<entry>
<title>feat(ruby): add injection for debugger command strings (#7480)</title>
<updated>2024-12-30T10:14:03Z</updated>
<author>
<name>Derek Stride</name>
<email>derek.stride@shopify.com</email>
</author>
<published>2024-12-30T10:14:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a295ba13d27684e8904e8e51876b84ee85135cf1'/>
<id>urn:sha1:a295ba13d27684e8904e8e51876b84ee85135cf1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(http): more comprehensive highlights</title>
<updated>2024-11-22T07:56:14Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-11-03T02:55:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2d5c122af9c3c842d74a137446dae8ff349206ac'/>
<id>urn:sha1:2d5c122af9c3c842d74a137446dae8ff349206ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(query): properly apply predicate injections</title>
<updated>2024-07-27T15:17:26Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-07-27T14:54:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=7cec6219c4ac5ce01ef2f29df23f8b3cebca8b09'/>
<id>urn:sha1:7cec6219c4ac5ce01ef2f29df23f8b3cebca8b09</id>
<content type='text'>
I think these have been broken since the query parser update. Basically
the inner node for the string content was preventing injections because
include-children was not set.
</content>
</entry>
<entry>
<title>chore(tests): consistent captures</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-12-24T11:52:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=10dd49958c96f86c8247c715bd20a6681afc1d8b'/>
<id>urn:sha1:10dd49958c96f86c8247c715bd20a6681afc1d8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>injections(vue): inject typescript instead of js (#5577)</title>
<updated>2023-11-06T02:04:13Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-11-06T02:04:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=80f66cdef147bd8d8a619dfd9b18da37af5ceaf6'/>
<id>urn:sha1:80f66cdef147bd8d8a619dfd9b18da37af5ceaf6</id>
<content type='text'>
Interpolations (`{{valid js code}}`) and directive attributes
(`&lt;element :directive="valid js code"`) can also be typescript code,
hence we can inject typescript instead of javascript here and still
be ok with highlights (bar some syntax differences between ts and js)
</content>
</entry>
<entry>
<title>fix(dockerfile): bash injection on run instructions</title>
<updated>2023-09-17T14:32:21Z</updated>
<author>
<name>Christian Segundo</name>
<email>christian.segundo@cabify.com</email>
</author>
<published>2023-09-17T11:35:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=dac6efbaff9a711074edeef9968dc29bad1324eb'/>
<id>urn:sha1:dac6efbaff9a711074edeef9968dc29bad1324eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(yaml): promql injections block</title>
<updated>2023-09-15T10:53:44Z</updated>
<author>
<name>Christian Segundo</name>
<email>christian.segundo@cabify.com</email>
</author>
<published>2023-09-15T10:22:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=831dbb619e0e00d52fe7e636d28dddb683013666'/>
<id>urn:sha1:831dbb619e0e00d52fe7e636d28dddb683013666</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(promql,yaml): add parser and yaml injections</title>
<updated>2023-07-18T07:03:11Z</updated>
<author>
<name>Michael Hoffmann</name>
<email>mhoffm@posteo.de</email>
</author>
<published>2023-07-08T17:44:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b64ea2ec444c27efd8d3bd2377a8b24589954363'/>
<id>urn:sha1:b64ea2ec444c27efd8d3bd2377a8b24589954363</id>
<content type='text'>
Signed-off-by: Michael Hoffmann &lt;mhoffm@posteo.de&gt;
</content>
</entry>
<entry>
<title>feat(vue): add tsx/jsx injection queries (#4550)</title>
<updated>2023-03-24T14:38:19Z</updated>
<author>
<name>Lucario387</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-03-24T14:38:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c7b9f68d0385274b4aa83671e6dcb02f301f9357'/>
<id>urn:sha1:c7b9f68d0385274b4aa83671e6dcb02f301f9357</id>
<content type='text'>
* feat(vue): add tsx/jsx injection queries

- add a test

- style: format vue/injections.scm</content>
</entry>
<entry>
<title>test: ecma injections</title>
<updated>2023-03-22T06:28:21Z</updated>
<author>
<name>Benny Powers</name>
<email>web@bennypowers.com</email>
</author>
<published>2023-03-21T08:05:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=972da989bcc33d86a09dc82b22de552557cff768'/>
<id>urn:sha1:972da989bcc33d86a09dc82b22de552557cff768</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: html injections</title>
<updated>2023-03-22T06:28:21Z</updated>
<author>
<name>Benny Powers</name>
<email>web@bennypowers.com</email>
</author>
<published>2023-03-21T07:34:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d228b51cd7dab16124e79a7ff456edcdfdb295b2'/>
<id>urn:sha1:d228b51cd7dab16124e79a7ff456edcdfdb295b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>injections(html): fix faulty css/js injections</title>
<updated>2023-03-05T20:34:41Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-03-03T02:09:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d11dd552dbde181cd49652188521f4b5f6cad2f8'/>
<id>urn:sha1:d11dd552dbde181cd49652188521f4b5f6cad2f8</id>
<content type='text'>
Group queries to reduce duplicate injection tree

use only regex
</content>
</entry>
<entry>
<title>allow negative assertion in injection tests (#4107)</title>
<updated>2023-01-07T10:22:20Z</updated>
<author>
<name>lucario387</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-01-07T10:22:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=85d953449125702c7c11f4a2242c328f7a65fd5b'/>
<id>urn:sha1:85d953449125702c7c11f4a2242c328f7a65fd5b</id>
<content type='text'>
* tests(vue, svelte): strengthen tests

* fix(html, vue, svelte): fix wrong test format

* allow negative assertions in injection tests</content>
</entry>
<entry>
<title>refactor(svelte): Remove duplicated queries</title>
<updated>2023-01-03T11:05:10Z</updated>
<author>
<name>Lucario387</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-01-02T01:47:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=28baed769815c54b243f0df606ccb4114287e772'/>
<id>urn:sha1:28baed769815c54b243f0df606ccb4114287e772</id>
<content type='text'>
These injection queries are defined already in html_tags, remove them

Signed-off-by: Pham Huy Hoang &lt;hoangtun0810@gmail.com&gt;
</content>
</entry>
<entry>
<title>refactor(vue, html): Update injections</title>
<updated>2023-01-03T11:05:10Z</updated>
<author>
<name>Lucario387</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-01-01T17:38:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3'/>
<id>urn:sha1:6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3</id>
<content type='text'>
Update html_tags injections so that html/vue/svelte parsers can use
it without having a script/style tag being captured twice

Signed-off-by: Pham Huy Hoang &lt;hoangtun0810@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix(vue): Invalid match queries</title>
<updated>2022-12-25T16:43:25Z</updated>
<author>
<name>Lucario387</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2022-12-25T15:38:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f5d517f4a71e2570d1d63e7432471972a6b5418e'/>
<id>urn:sha1:f5d517f4a71e2570d1d63e7432471972a6b5418e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add test file</title>
<updated>2022-12-25T13:58:33Z</updated>
<author>
<name>Lucario387</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2022-12-24T07:30:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bbd7ecb25d607ce2bfd5294669014ede4669cc19'/>
<id>urn:sha1:bbd7ecb25d607ce2bfd5294669014ede4669cc19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci(injection tests): don't consider root language an injection</title>
<updated>2021-12-20T17:16:45Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-11-27T16:12:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=881cb5b8f2260c1e3b9e2d68ac459d81c1dff57b'/>
<id>urn:sha1:881cb5b8f2260c1e3b9e2d68ac459d81c1dff57b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: add injection tests</title>
<updated>2021-12-20T17:16:45Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-11-27T12:30:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a3862c9802a3695b35eabfcd458236f93b54810b'/>
<id>urn:sha1:a3862c9802a3695b35eabfcd458236f93b54810b</id>
<content type='text'>
</content>
</entry>
</feed>
