<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/meson, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/meson?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/meson?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2024-02-20T09:10:11Z</updated>
<entry>
<title>fix(meson): adapt to renamed node</title>
<updated>2024-02-20T09:10:11Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-02-20T08:56:34Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ea3ddedd8306b90880a83f53678e087e13ebf131'/>
<id>urn:sha1:ea3ddedd8306b90880a83f53678e087e13ebf131</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(meson): add indents.scm</title>
<updated>2024-01-20T09:48:56Z</updated>
<author>
<name>Jędrzej Boczar</name>
<email>yendreij@gmail.com</email>
</author>
<published>2024-01-19T15:08:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6548bb64c11e0860a504de3012e8aa14e1d51d7e'/>
<id>urn:sha1:6548bb64c11e0860a504de3012e8aa14e1d51d7e</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>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>highlights(meson): fix captures</title>
<updated>2022-11-26T11:17:51Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-11-20T12:57:09Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bedc763361d0eccbf89e410faa8633189107d366'/>
<id>urn:sha1:bedc763361d0eccbf89e410faa8633189107d366</id>
<content type='text'>
Co-Authored-By: ShootingStarDragons &lt;ShootingStarDragons@protonmail.com&gt;
</content>
</entry>
<entry>
<title>highlights(meson): delimiter and operatorunit</title>
<updated>2022-09-08T10:42:59Z</updated>
<author>
<name>Ananda Umamil</name>
<email>zweimach@zweimach.org</email>
</author>
<published>2022-09-06T17:40:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9b13872f19aa97916ba0ae92bac6fb9e2c1dd06d'/>
<id>urn:sha1:9b13872f19aa97916ba0ae92bac6fb9e2c1dd06d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore(meson): add injections for meson</title>
<updated>2022-08-27T08:35:47Z</updated>
<author>
<name>ShootingStarDragons</name>
<email>ShootingStarDragons@protonmail.com</email>
</author>
<published>2022-08-27T02:00:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d50ded1471c992cfae499ed78fae31b44e4febdb'/>
<id>urn:sha1:d50ded1471c992cfae499ed78fae31b44e4febdb</id>
<content type='text'>
add comment as injections as other languages like bash

Log: add injections for meson
</content>
</entry>
<entry>
<title>feat(meson): add support for meson</title>
<updated>2022-08-26T18:55:16Z</updated>
<author>
<name>ShootingStarDragons</name>
<email>ShootingStarDragons@protonmail.com</email>
</author>
<published>2022-08-23T10:52:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d4ca2c679104a598f9cc0cb2a1f47de04bfa1ad9'/>
<id>urn:sha1:d4ca2c679104a598f9cc0cb2a1f47de04bfa1ad9</id>
<content type='text'>
Log: meson build
</content>
</entry>
</feed>
