<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/yang, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/yang?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/yang?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2024-01-20T09:47:56Z</updated>
<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>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: @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>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>split delimiter into open_delimiter and close_delimiter</title>
<updated>2023-03-24T17:07:53Z</updated>
<author>
<name>George Harker</name>
<email>george@george-graphics.co.uk</email>
</author>
<published>2023-03-20T01:55:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b4fcc611753bd443d30a75c1797a93268faa8aba'/>
<id>urn:sha1:b4fcc611753bd443d30a75c1797a93268faa8aba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>injections(yang): add comment &amp; regex</title>
<updated>2022-11-26T11:17:51Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-11-21T13:34:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=caa616d88ea592431286c2675f8cbe10493c4754'/>
<id>urn:sha1:caa616d88ea592431286c2675f8cbe10493c4754</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(yang): fix captures</title>
<updated>2022-11-26T11:17:51Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-11-21T13:34:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=04712814cc783390c7f415adb8b4abcbece41508'/>
<id>urn:sha1:04712814cc783390c7f415adb8b4abcbece41508</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix YANG indentation for extension statements</title>
<updated>2022-04-23T13:49:53Z</updated>
<author>
<name>Tomas Sandven</name>
<email>tomas@sandven.email</email>
</author>
<published>2022-04-07T08:35:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6d072a6e546e4fb84520fe46e920c46bbe7a4038'/>
<id>urn:sha1:6d072a6e546e4fb84520fe46e920c46bbe7a4038</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add aligned indents for multi-line strings</title>
<updated>2022-04-23T13:49:53Z</updated>
<author>
<name>Tomas Sandven</name>
<email>tomas@sandven.email</email>
</author>
<published>2022-04-05T10:16:14Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=71a4a13ed1bd7499cfb5de1d14af2cdcc4293fdf'/>
<id>urn:sha1:71a4a13ed1bd7499cfb5de1d14af2cdcc4293fdf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add indent queries for YANG</title>
<updated>2022-04-23T13:49:53Z</updated>
<author>
<name>Tomas Sandven</name>
<email>tomas@sandven.email</email>
</author>
<published>2022-04-05T09:05:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f51d4180c65bfaaa8501e551570e05451ce53356'/>
<id>urn:sha1:f51d4180c65bfaaa8501e551570e05451ce53356</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update YANG parser revision and highlights query</title>
<updated>2021-07-23T15:56:45Z</updated>
<author>
<name>Tomas Sandven</name>
<email>tomas@sandven.email</email>
</author>
<published>2021-07-23T15:41:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=65a059b34d5bc77db01372c589f582b17524a2f9'/>
<id>urn:sha1:65a059b34d5bc77db01372c589f582b17524a2f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>YANG fold on blocks</title>
<updated>2021-07-19T20:22:00Z</updated>
<author>
<name>David Hotham</name>
<email>david.hotham@metaswitch.com</email>
</author>
<published>2021-07-19T20:04:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=368a016c15478b050bb0567a023f5d149d494bf9'/>
<id>urn:sha1:368a016c15478b050bb0567a023f5d149d494bf9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add YANG parser</title>
<updated>2021-07-19T16:03:27Z</updated>
<author>
<name>Tomas Sandven</name>
<email>tomas@sandven.email</email>
</author>
<published>2021-07-19T05:44:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a6121f014d2e75bd9eab23082d0f6e02b46ae092'/>
<id>urn:sha1:a6121f014d2e75bd9eab23082d0f6e02b46ae092</id>
<content type='text'>
</content>
</entry>
</feed>
