<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/ql, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/ql?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/ql?h=fix%2Flua'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-05-12T16:43:40Z</updated>
<entry>
<title>feat!: drop modules, general refactor and cleanup</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-06-12T15:54:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=692b051b09935653befdb8f7ba8afdb640adf17b'/>
<id>urn:sha1:692b051b09935653befdb8f7ba8afdb640adf17b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: more `@keyword.type` captures</title>
<updated>2024-05-01T07:59:50Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-04-23T19:23:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f58cae6c228e26681039253cb172de16cd764408'/>
<id>urn:sha1:f58cae6c228e26681039253cb172de16cd764408</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier`</title>
<updated>2024-03-16T12:51:16Z</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2024-03-08T10:09:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=998b230a77b544761bae8aa7518d40b91a5c9559'/>
<id>urn:sha1:998b230a77b544761bae8aa7518d40b91a5c9559</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!: align standard captures with upstream</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-12-24T09:00:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1ae9b0e4558fe7868f8cda2db65239cfb14836d0'/>
<id>urn:sha1:1ae9b0e4558fe7868f8cda2db65239cfb14836d0</id>
<content type='text'>
Problem: Sharing highlight queries with upstream tree-sitter and
Helix is difficult.

Solution: Where reasonable, use capture names in tree-sitter's standard
list or Helix's Atom-style hierarchy.

Specifically:

* tree-sitter "standard capture names"
  (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72):

  - `@parameter` -&gt; `@variable.parameter`
  - `@field` -&gt; `@variable.member`
  - `@namespace` -&gt; `@module`
  - `@float` -&gt; `@number.float`
  - `@symbol` -&gt; `@string.special.symbol`
  - `@string.regex` -&gt; `@string.regexp`
  - `@text.*` -&gt; `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below)
  - `@text.title` -&gt; `@markup.heading`
  - `@text.literal` -&gt; `@markup.raw`
  - `@text.reference` -&gt; `@markup.link`
  - `@text.uri` -&gt; `@markup.link.url` (in markup links)
  - `@string.special` -&gt; `@markup.link.label` (non-url links)
  - `@punctuation.special` -&gt; `@markup.list` (markdown lists only; move subitems from `@text.todo`)

* Helix captures
  (https://docs.helix-editor.com/master/themes.html#syntax-highlighting):

  - `@method` -&gt; `@function.method`
  - `@method.call` -&gt; `@function.method.call`
  - `@text.{todo,warning,note,danger}` -&gt; `@comment.{error,warning,hint,info,todo}`
  - `@text.diff.{add,delete,}` -&gt; `@diff.{plus,minus,delta}`
  - `@text.uri` -&gt; `@string.special.url` (outside markup)
  - `@preproc` -&gt; `@keyword.directive`
  - `@define` -&gt; `@keyword.directive`(`.define`?)
  - `@storageclass` -&gt; `@keyword.storage`
  - `@conditional` -&gt; `@keyword.conditional`
  - `@debug` -&gt; `@keyword.debug`
  - `@exception` -&gt; `@keyword.exception`
  - `@include` -&gt; `@keyword.import`
  - `@repeat` -&gt; `@keyword.repeat`

* cleanup

  - remove some redundant `@conceal` (but still allow it for conceal-only patterns)
  - remove obsolete `@error` (syntax linting is out of scope for this repo)
  - sort, cleanup capture list in `CONTRIBUTING.md`
</content>
</entry>
<entry>
<title>feat(locals)!: switch to upstream captures</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-07-22T13:29:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5'/>
<id>urn:sha1:5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5</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>use indent.X syntax for captures and properties of set directives</title>
<updated>2023-03-24T17:07:53Z</updated>
<author>
<name>George Harker</name>
<email>george@george-graphics.co.uk</email>
</author>
<published>2023-03-20T21:44:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cb568af5393241e5dbc9c19157c5df5e9ca9af2d'/>
<id>urn:sha1:cb568af5393241e5dbc9c19157c5df5e9ca9af2d</id>
<content type='text'>
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
</content>
</entry>
<entry>
<title>feat: add `@comment.documentation` where applicable</title>
<updated>2023-03-05T22:15:32Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-03-02T13:06:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5a87bc98dabd0d38152a6fa774005f7ecbd40f1b'/>
<id>urn:sha1:5a87bc98dabd0d38152a6fa774005f7ecbd40f1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update tests</title>
<updated>2023-01-31T11:23:13Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2023-01-31T10:36:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d335c39bffcd456e20f35f317a3578de6a6969b7'/>
<id>urn:sha1:d335c39bffcd456e20f35f317a3578de6a6969b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(ql): Add moduleMember to indent file</title>
<updated>2023-01-31T11:23:13Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>alvaro@pwntester.com</email>
</author>
<published>2023-01-30T20:32:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1c41d6f8250669bfe54953210db64e97ee0d81b4'/>
<id>urn:sha1:1c41d6f8250669bfe54953210db64e97ee0d81b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(ql): use more specific groups</title>
<updated>2022-11-26T11:17:51Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-10-30T21:39:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a1f21606d98cb6873f4b7155144f207de60b0564'/>
<id>urn:sha1:a1f21606d98cb6873f4b7155144f207de60b0564</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(ql): add folding queries</title>
<updated>2022-11-05T10:18:52Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2022-11-02T22:41:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=57638f8249819fbc0ffc073981b1c4f875dac7b1'/>
<id>urn:sha1:57638f8249819fbc0ffc073981b1c4f875dac7b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(ql): follow upstream refactor of qualModuleExpr</title>
<updated>2022-08-15T21:53:57Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-08-15T21:01:04Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0c807bf1fd478dfd1a3d1759cf6d023467ee7738'/>
<id>urn:sha1:0c807bf1fd478dfd1a3d1759cf6d023467ee7738</id>
<content type='text'>
https://github.com/tree-sitter/tree-sitter-ql/commit/13155b740d4040e74727a9a698277805498a6a85
</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>replace @class with @type</title>
<updated>2021-04-23T19:18:55Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>alvaro@pwntester.com</email>
</author>
<published>2021-04-23T13:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=eefa5662e619b319c8736c5496fa68cb41d51f97'/>
<id>urn:sha1:eefa5662e619b319c8736c5496fa68cb41d51f97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Codeql indents.scm</title>
<updated>2021-04-23T19:18:55Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>alvaro@pwntester.com</email>
</author>
<published>2021-04-23T12:39:04Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=34729470276603754ea8b924e79a2333ef968ebe'/>
<id>urn:sha1:34729470276603754ea8b924e79a2333ef968ebe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark several invalid queries</title>
<updated>2021-03-16T17:52:43Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-03-07T18:10:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6cd211f647ff37f1b40f1ed3d93e0ca53b7e86b1'/>
<id>urn:sha1:6cd211f647ff37f1b40f1ed3d93e0ca53b7e86b1</id>
<content type='text'>
</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>More improvements</title>
<updated>2020-11-12T07:11:06Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>alvaro@pwntester.com</email>
</author>
<published>2020-11-11T22:30:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=16fcbd1824727697e8a6625ae56ab7b55374d4ca'/>
<id>urn:sha1:16fcbd1824727697e8a6625ae56ab7b55374d4ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>QL: support modules</title>
<updated>2020-11-12T07:11:06Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>alvaro@pwntester.com</email>
</author>
<published>2020-11-11T22:10:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6716ba94792b7762194814b7bcd04ff4255c2c67'/>
<id>urn:sha1:6716ba94792b7762194814b7bcd04ff4255c2c67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improce type highlighting</title>
<updated>2020-11-11T15:39:22Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>alvaro@pwntester.com</email>
</author>
<published>2020-11-11T14:45:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b4ec3ae3f526ca63fcd2ccc1c404bc873f64f402'/>
<id>urn:sha1:b4ec3ae3f526ca63fcd2ccc1c404bc873f64f402</id>
<content type='text'>
</content>
</entry>
<entry>
<title>minor improvments for QL</title>
<updated>2020-11-07T00:11:37Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>alvaro@pwntester.com</email>
</author>
<published>2020-11-06T22:10:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6900e5f704110e3dbaab844c81530e82f271f7da'/>
<id>urn:sha1:6900e5f704110e3dbaab844c81530e82f271f7da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make query-checker happy</title>
<updated>2020-10-01T04:26:59Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2020-09-30T22:27:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5debe931333b20fe2b352dd92c03ded837e3df4b'/>
<id>urn:sha1:5debe931333b20fe2b352dd92c03ded837e3df4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change module to namespace</title>
<updated>2020-10-01T04:26:59Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2020-09-30T22:22:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9e09ce6c8e09411081744b5742c09d0aea20f6b1'/>
<id>urn:sha1:9e09ce6c8e09411081744b5742c09d0aea20f6b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CodeQL locals.scm queries</title>
<updated>2020-10-01T04:26:59Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2020-09-30T22:16:11Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a5dccb0ac7cb6d6b9da1721cf075994b6b21becd'/>
<id>urn:sha1:a5dccb0ac7cb6d6b9da1721cf075994b6b21becd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fine tune keyword highlights</title>
<updated>2020-09-30T15:06:58Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2020-09-30T07:41:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=61ea08f8d3b5a14c3a67dbb2527441c5a3bafab7'/>
<id>urn:sha1:61ea08f8d3b5a14c3a67dbb2527441c5a3bafab7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove locals.scm</title>
<updated>2020-09-30T15:06:58Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2020-09-29T22:42:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c29865a7b37d22c7a020ddbc04cb47f82e8ffc3e'/>
<id>urn:sha1:c29865a7b37d22c7a020ddbc04cb47f82e8ffc3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove non-used captures</title>
<updated>2020-09-30T15:06:58Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2020-09-29T22:38:10Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=90c53d3d1e423c747fa94a1418382f666df1208b'/>
<id>urn:sha1:90c53d3d1e423c747fa94a1418382f666df1208b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>initial support for CodeQL</title>
<updated>2020-09-30T15:06:58Z</updated>
<author>
<name>Alvaro Muñoz</name>
<email>pwntester@github.com</email>
</author>
<published>2020-09-29T22:30:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=3dc2e9331e18635f518db853fb076852c9bed16a'/>
<id>urn:sha1:3dc2e9331e18635f518db853fb076852c9bed16a</id>
<content type='text'>
</content>
</entry>
</feed>
