<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/fusion, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/fusion?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/fusion?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2024-06-15T08:40:34Z</updated>
<entry>
<title>feat: more comment injections</title>
<updated>2024-06-15T08:40:34Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-06-08T04:33:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9d68e876cce94fc9f8f8819da0c956a4429a3766'/>
<id>urn:sha1:9d68e876cce94fc9f8f8819da0c956a4429a3766</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>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>feat: @spell on comments</title>
<updated>2023-09-12T15:34:58Z</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2023-09-12T15:25:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9567185621e532a9e29a671c66a11011334b80ea'/>
<id>urn:sha1:9567185621e532a9e29a671c66a11011334b80ea</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>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>highlights: create subscoping for ternary operator</title>
<updated>2022-12-02T20:42:11Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-12-02T19:22:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d6a2ecb8b7093d6f6673cb6748bce9214a5099d3'/>
<id>urn:sha1:d6a2ecb8b7093d6f6673cb6748bce9214a5099d3</id>
<content type='text'>
After https://github.com/nvim-treesitter/nvim-treesitter/issues/470,
we decided to use `@conditional` for ternary operator instead of
operator despite `@conditional` is documented for keywords only.
A sub-scoping can make it easier for people to highlight this operator
group differently.

Also unify the usage of `@conditional...` across languages.
</content>
</entry>
<entry>
<title>fix: typo in locals query</title>
<updated>2022-01-03T23:59:33Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-12-29T18:05:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8342a84f409e198ee602552b2aef53e98720be5a'/>
<id>urn:sha1:8342a84f409e198ee602552b2aef53e98720be5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: add eel_array and eel_object to indent query</title>
<updated>2022-01-03T23:59:33Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-12-29T17:59:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c3731d627ef8fd8f4103c5cb6896a0126a893ea4'/>
<id>urn:sha1:c3731d627ef8fd8f4103c5cb6896a0126a893ea4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: highlights for value_expression start and end as punctuation</title>
<updated>2022-01-03T23:59:33Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-12-29T17:41:36Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=47e9c1dce91d2c0b426dda45c15d365fe34e7e4f'/>
<id>urn:sha1:47e9c1dce91d2c0b426dda45c15d365fe34e7e4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add indent for fusion and afx</title>
<updated>2022-01-03T23:59:33Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-12-27T22:40:37Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a64f509beb02f3dce691daed44ca32b430fa10c5'/>
<id>urn:sha1:a64f509beb02f3dce691daed44ca32b430fa10c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: add afx_text to highlights (text)</title>
<updated>2022-01-03T23:59:33Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-12-27T19:38:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8ec2b6cb9f7367fbedb069787b752b49da270ce7'/>
<id>urn:sha1:8ec2b6cb9f7367fbedb069787b752b49da270ce7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add more local definitions</title>
<updated>2022-01-03T23:59:33Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-12-27T19:37:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=88505b7312fe741412635b55d576cb5798d53454'/>
<id>urn:sha1:88505b7312fe741412635b55d576cb5798d53454</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add fold queries</title>
<updated>2022-01-03T23:59:33Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-12-27T19:37:14Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=17403ce0197ad94e3368b96e990a622fa383adc9'/>
<id>urn:sha1:17403ce0197ad94e3368b96e990a622fa383adc9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update fusion to version 1.1.1 (#2148)</title>
<updated>2021-12-23T16:18:15Z</updated>
<author>
<name>jirgn</name>
<email>jirgnmssnr@googlemail.com</email>
</author>
<published>2021-12-23T16:18:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6b5b37cc3ee2468beef1289980102fc3c4e06e2c'/>
<id>urn:sha1:6b5b37cc3ee2468beef1289980102fc3c4e06e2c</id>
<content type='text'>
* feat(fusion): update tests

* fix(fusion): update lockfile

* fix(fusion): update to (highlight breaking) version 1.1.0

* update grammer to introduce afx support
* update tests and queries

* fix: revert lockfile update of unrelated grammars

* fix: update to 1.1.1 and fix hightlights

* fix: use @tag.attribute capture to match specs

Co-authored-by: Jirgn &lt;jirgn76@googlemail.com&gt;</content>
</entry>
<entry>
<title>feat(fusion): update tests</title>
<updated>2021-12-06T20:51:53Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-12-05T22:26:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f51aa0b75ebc09e811fb775932635e80bfc8d343'/>
<id>urn:sha1:f51aa0b75ebc09e811fb775932635e80bfc8d343</id>
<content type='text'>
</content>
</entry>
<entry>
<title>parsers(fusion): add info about main branch</title>
<updated>2021-11-26T21:04:59Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-11-26T20:40:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=61b21254ee902baa749f938ab79d0db47a1888da'/>
<id>urn:sha1:61b21254ee902baa749f938ab79d0db47a1888da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: incorrect hightlight groups</title>
<updated>2021-11-26T21:04:59Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-11-26T20:22:28Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=096f0e91be337252bf3d1e9569528e3c844a6220'/>
<id>urn:sha1:096f0e91be337252bf3d1e9569528e3c844a6220</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: typo in highlight group punct(u)ation</title>
<updated>2021-11-26T21:04:59Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-11-26T19:08:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a0ad73493ea557089d8bb05a73349d760e5f3911'/>
<id>urn:sha1:a0ad73493ea557089d8bb05a73349d760e5f3911</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add fusion grammar and highlights</title>
<updated>2021-11-26T21:04:59Z</updated>
<author>
<name>Jirgn</name>
<email>jirgn76@googlemail.com</email>
</author>
<published>2021-11-26T15:37:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=979c32493d1edabb949badf00da9d130d966aaae'/>
<id>urn:sha1:979c32493d1edabb949badf00da9d130d966aaae</id>
<content type='text'>
</content>
</entry>
</feed>
