<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/smali, branch docs/contrib</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/smali?h=docs%2Fcontrib</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/smali?h=docs%2Fcontrib'/>
<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(highlights)!: `@keyword.storage` → `@keyword.modifier`</title>
<updated>2024-03-16T12:51:16Z</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2024-03-16T05:23:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=dccf31f9b1fbbbd09e6720c7d8f5f1a2433fd32d'/>
<id>urn:sha1:dccf31f9b1fbbbd09e6720c7d8f5f1a2433fd32d</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>fix(highlights): improve member/property distinction</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2024-01-10T16:05:37Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fa38f4e6f94b4e67fb80af21178dba3b422efb12'/>
<id>urn:sha1:fa38f4e6f94b4e67fb80af21178dba3b422efb12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(highlights): improve consistency</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2024-01-09T09:50:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2f38c36294fde19a901b17589b153898b8a075e5'/>
<id>urn:sha1:2f38c36294fde19a901b17589b153898b8a075e5</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>refactor: Remove all `(ERROR) @error` captures</title>
<updated>2023-10-25T16:18:50Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-10-25T07:45:14Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=107e61afb7129d637ea6c3c68b97a22194b0bf16'/>
<id>urn:sha1:107e61afb7129d637ea6c3c68b97a22194b0bf16</id>
<content type='text'>
As discussed in PR#5421, capturing `@error` is inconsistent, requiring
deep nesting (or priority) in order to correctly have red backgrounds to
it.

Some queries has this capture, some don't. For consistency purposes,
removing all of them is more preferable.

For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)`
to your custom queries.
</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>chore(smali): add tests</title>
<updated>2023-04-25T06:37:31Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-24T23:12:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b39e6bd61590e429b6fd42734f1485b94335af5f'/>
<id>urn:sha1:b39e6bd61590e429b6fd42734f1485b94335af5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(smali): update queries from upstream parser</title>
<updated>2023-04-25T06:37:31Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-24T23:10:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9f157094cd0dabb7a6fd240e38b00d4ed0176fdb'/>
<id>urn:sha1:9f157094cd0dabb7a6fd240e38b00d4ed0176fdb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>perf: remove match where possible</title>
<updated>2023-04-21T22:24:17Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-21T08:06:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=85330918f05b3a4bd342a69063e7ef5fcdfadd2e'/>
<id>urn:sha1:85330918f05b3a4bd342a69063e7ef5fcdfadd2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(smali): refactor queries from upstream</title>
<updated>2023-04-18T02:50:34Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-18T02:24:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c79c37927bb6a937b5b85c45125db75dc204a6ef'/>
<id>urn:sha1:c79c37927bb6a937b5b85c45125db75dc204a6ef</id>
<content type='text'>
</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>feat(smali): improve queries</title>
<updated>2023-02-22T13:11:22Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-02-20T13:10:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8c4a22fd503b963e3f1c40a4d298ee6733fdb28f'/>
<id>urn:sha1:8c4a22fd503b963e3f1c40a4d298ee6733fdb28f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: move method and end_method to @keyword.function</title>
<updated>2023-01-09T20:24:54Z</updated>
<author>
<name>Amaan Q</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-01-09T20:10:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5b8b711926d1f3ef5c63fbe5db2d8f33b912025e'/>
<id>urn:sha1:5b8b711926d1f3ef5c63fbe5db2d8f33b912025e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: character_literal is no longer unsupported :)</title>
<updated>2023-01-09T20:24:54Z</updated>
<author>
<name>Amaan Q</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-01-08T16:53:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d13a0d563b7c2682a8d420543ab9844fc2b75964'/>
<id>urn:sha1:d13a0d563b7c2682a8d420543ab9844fc2b75964</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add character_literal query</title>
<updated>2023-01-09T20:24:54Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-01-08T14:55:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1735990aa9db4400c02c22b1d4f262cd4eecd378'/>
<id>urn:sha1:1735990aa9db4400c02c22b1d4f262cd4eecd378</id>
<content type='text'>
Co-authored-by: ObserverOfTime &lt;chronobserver@disroot.org&gt;
</content>
</entry>
<entry>
<title>feat: add smali query</title>
<updated>2023-01-09T20:24:54Z</updated>
<author>
<name>Amaan Q</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-01-08T06:56:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e1f2bb2fcfba4bfcf341b8c52cc059ed61018558'/>
<id>urn:sha1:e1f2bb2fcfba4bfcf341b8c52cc059ed61018558</id>
<content type='text'>
</content>
</entry>
</feed>
