<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/leo, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/leo?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/leo?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-01-03T18:17:21Z</updated>
<entry>
<title>fix(leo): intentation fix of parenthesis</title>
<updated>2025-01-03T18:17:21Z</updated>
<author>
<name>Robert Horvath</name>
<email>rob@nyar.eu</email>
</author>
<published>2025-01-03T18:07:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6935286b4ee3d938954e446d657eebee71b4d07a'/>
<id>urn:sha1:6935286b4ee3d938954e446d657eebee71b4d07a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(leo): indent } now properly dedents</title>
<updated>2024-12-30T16:55:35Z</updated>
<author>
<name>Robert Horvath</name>
<email>rob@nyar.eu</email>
</author>
<published>2024-12-29T15:17:08Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1087b183a7c61218084300d09b1bb979930a71fe'/>
<id>urn:sha1:1087b183a7c61218084300d09b1bb979930a71fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(leo): highlights casting and record expressions added</title>
<updated>2024-12-30T16:55:35Z</updated>
<author>
<name>Robert Horvath</name>
<email>rob@nyar.eu</email>
</author>
<published>2024-12-29T15:16:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f0f48e02903bd5ae079ca19d92ad1be7b4c88179'/>
<id>urn:sha1:f0f48e02903bd5ae079ca19d92ad1be7b4c88179</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bot(lockfile): update http, ini, leo</title>
<updated>2024-08-30T08:35:48Z</updated>
<author>
<name>nvim-treesitter-bot[bot]</name>
<email>157957100+nvim-treesitter-bot[bot]@users.noreply.github.com</email>
</author>
<published>2024-08-30T06:42:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9ac3931bf6891cecd59c432d343d6490afd401e5'/>
<id>urn:sha1:9ac3931bf6891cecd59c432d343d6490afd401e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(leo): update queries (#7086)</title>
<updated>2024-08-28T07:51:27Z</updated>
<author>
<name>r001</name>
<email>rob@nyar.eu</email>
</author>
<published>2024-08-28T07:51:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5071ca777ce37df866305cbd272cd4ef7c30624a'/>
<id>urn:sha1:5071ca777ce37df866305cbd272cd4ef7c30624a</id>
<content type='text'>
* small bugfixes of variables, records, and struct highlighting

* lockfile.json update

* fixed @constant bug, and added self.address, and network.id as builtins to highlight

* fixed associated function calls</content>
</entry>
<entry>
<title>feat(leo): add string literals (#7084)</title>
<updated>2024-08-26T07:37:52Z</updated>
<author>
<name>r001</name>
<email>rob@nyar.eu</email>
</author>
<published>2024-08-26T07:37:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d0c5116fa0f34bbf11714ec5a1ec33ceab8b049e'/>
<id>urn:sha1:d0c5116fa0f34bbf11714ec5a1ec33ceab8b049e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(leo): async keyword (#7083)</title>
<updated>2024-08-26T04:24:54Z</updated>
<author>
<name>r001</name>
<email>rob@nyar.eu</email>
</author>
<published>2024-08-26T04:24:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f9b76256c3f995d9275db7018046aeb1643eb2a5'/>
<id>urn:sha1:f9b76256c3f995d9275db7018046aeb1643eb2a5</id>
<content type='text'>
* async keyword added

* lockfile update</content>
</entry>
<entry>
<title>refactor(queries): Remove quotes from properties in set! directive</title>
<updated>2024-07-28T09:43:41Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-07-27T23:28:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=51bba660a89e0027929206b622c9c1cbdd995cfb'/>
<id>urn:sha1:51bba660a89e0027929206b622c9c1cbdd995cfb</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>Fixup format (#5934)</title>
<updated>2024-01-20T09:47:56Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-20T09:47:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d198a75e2c2e24885b05650515538d055d0c64e4'/>
<id>urn:sha1:d198a75e2c2e24885b05650515538d055d0c64e4</id>
<content type='text'>
* fix(format): newline between top-level field defs

* fixup: newline between node and comment

* fixup: optimize pattern</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>indents added new language highlights added (#5777)</title>
<updated>2023-12-10T07:16:24Z</updated>
<author>
<name>r001</name>
<email>rob@nyar.eu</email>
</author>
<published>2023-12-10T07:16:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b6b9ca448b7f236e2e60f8393a729902511f9db9'/>
<id>urn:sha1:b6b9ca448b7f236e2e60f8393a729902511f9db9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(leo): highlights fixes (#5563)</title>
<updated>2023-10-23T10:15:49Z</updated>
<author>
<name>r001</name>
<email>rob@nyar.eu</email>
</author>
<published>2023-10-23T10:15:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0b50cf159283855b72f4c6b22f5ba3c9cf813b37'/>
<id>urn:sha1:0b50cf159283855b72f4c6b22f5ba3c9cf813b37</id>
<content type='text'>
* make sure affine_group has priority, so parens and comma will not be miscolored; added `annotation` as @attribute

* `then` is not used as conditional, so moved to keywords

* finalize function highlight added

* differentiate between constant and variable variable identifiers</content>
</entry>
<entry>
<title>feat: leo parser and queries (#5542)</title>
<updated>2023-10-22T01:23:02Z</updated>
<author>
<name>r001</name>
<email>rob@nyar.eu</email>
</author>
<published>2023-10-22T01:23:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=99988f6eb7a6d898767813be6da48c49a2edc792'/>
<id>urn:sha1:99988f6eb7a6d898767813be6da48c49a2edc792</id>
<content type='text'>
</content>
</entry>
</feed>
