<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/elm, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/elm?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/elm?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(highlights): capture wildcard patterns as `@character.special` (#7153)</title>
<updated>2024-09-20T06:15:01Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-09-20T06:15:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=188b1a6d01fd9bcf04bf2bc932d611809b154acc'/>
<id>urn:sha1:188b1a6d01fd9bcf04bf2bc932d611809b154acc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(elm): add folds queries</title>
<updated>2024-07-03T07:49:13Z</updated>
<author>
<name>Derek Gustafson</name>
<email>degustaf@gmail.com</email>
</author>
<published>2024-07-03T07:49:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0209151fd236016dd217168a61bd9197b1a1b272'/>
<id>urn:sha1:0209151fd236016dd217168a61bd9197b1a1b272</id>
<content type='text'>
</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>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>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>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>highlights(elm): fix boolean literals</title>
<updated>2023-01-14T22:02:15Z</updated>
<author>
<name>Ananda Umamil</name>
<email>zweimach@zweimach.org</email>
</author>
<published>2023-01-14T21:41:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e4042553bda83baa3d908d7873e3308b4680cdd4'/>
<id>urn:sha1:e4042553bda83baa3d908d7873e3308b4680cdd4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(elm): zero args constructor pattern matching</title>
<updated>2023-01-01T19:01:49Z</updated>
<author>
<name>Ananda Umamil</name>
<email>zweimach@zweimach.org</email>
</author>
<published>2023-01-01T18:43:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b67822bf58b0fbf0c496ae21a177d02fa8388edf'/>
<id>urn:sha1:b67822bf58b0fbf0c496ae21a177d02fa8388edf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(elm): improve highlights</title>
<updated>2023-01-01T14:30:10Z</updated>
<author>
<name>Ananda Umamil</name>
<email>zweimach@zweimach.org</email>
</author>
<published>2022-12-31T20:22:36Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4f3aa2af446ed31c9e8cd4ab7757883f825d448b'/>
<id>urn:sha1:4f3aa2af446ed31c9e8cd4ab7757883f825d448b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(elm): 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-22T11:02:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a71358d170a91bece79c994dce07c1f163eecff3'/>
<id>urn:sha1:a71358d170a91bece79c994dce07c1f163eecff3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(elm): apply review comments</title>
<updated>2021-11-27T23:45:02Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-11-27T23:30:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4b21803fb54e879f669451ae76431bb8a0e08657'/>
<id>urn:sha1:4b21803fb54e879f669451ae76431bb8a0e08657</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(elm): add first elm highlight</title>
<updated>2021-11-27T23:45:02Z</updated>
<author>
<name>kiyan</name>
<email>yazdani.kiyan@protonmail.com</email>
</author>
<published>2021-11-04T19:47:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cd987a44f0cacc84712ec357679a4444df7ee7ae'/>
<id>urn:sha1:cd987a44f0cacc84712ec357679a4444df7ee7ae</id>
<content type='text'>
</content>
</entry>
</feed>
