<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/cuda, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/cuda?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/cuda?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2024-04-03T09:11:01Z</updated>
<entry>
<title>highlights(cuda): add support for `__managed__`</title>
<updated>2024-04-03T09:11:01Z</updated>
<author>
<name>Stephan Seitz</name>
<email>sseitz@nvidia.com</email>
</author>
<published>2024-04-02T20:53:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cc0e29727a9651e27869b7444e835c44fb1e7b4c'/>
<id>urn:sha1:cc0e29727a9651e27869b7444e835c44fb1e7b4c</id>
<content type='text'>
See https://github.com/tree-sitter-grammars/tree-sitter-cuda/pull/68
</content>
</entry>
<entry>
<title>feat(highlights)!: `@keyword.storage` → `@keyword.modifier`</title>
<updated>2024-03-16T12:51:16Z</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2024-03-16T05:23:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=dccf31f9b1fbbbd09e6720c7d8f5f1a2433fd32d'/>
<id>urn:sha1:dccf31f9b1fbbbd09e6720c7d8f5f1a2433fd32d</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>feat(format): extra newline after modeline</title>
<updated>2024-02-29T14:05:30Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-02-18T15:00:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=62b0bb4f24ad09f535efe44cc9d088f90dcd2498'/>
<id>urn:sha1:62b0bb4f24ad09f535efe44cc9d088f90dcd2498</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(c-family): inject all preproc args again</title>
<updated>2023-08-13T22:57:23Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-08-13T21:29:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b5f203031282a6e9e025080fe71b58dbb43f7509'/>
<id>urn:sha1:b5f203031282a6e9e025080fe71b58dbb43f7509</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>fix(c-family): inject into preproc args in preproc defs when it spans multiple lines only</title>
<updated>2023-08-11T18:38:50Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-08-10T23:32:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=41f35eac4ff0c08a39d67b6d4faff697871e4ccb'/>
<id>urn:sha1:41f35eac4ff0c08a39d67b6d4faff697871e4ccb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: update preproc injections for arduino, cuda, glsl, hlsl</title>
<updated>2023-08-10T14:43:45Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-08-10T14:43:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=251fe95efda3a7282ccbe97e9cf623d9be71e483'/>
<id>urn:sha1:251fe95efda3a7282ccbe97e9cf623d9be71e483</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(cuda): add `__noinline__`</title>
<updated>2023-02-01T18:40:39Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2023-01-31T11:37:47Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f0e083912ac42e9001e02a89f70269aa0698e9ec'/>
<id>urn:sha1:f0e083912ac42e9001e02a89f70269aa0698e9ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(cuda): add missing `"__global__"`</title>
<updated>2022-12-31T12:58:33Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-12-26T14:35:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c2301adfcbf1f918e0aa549fd4581f213f0ca064'/>
<id>urn:sha1:c2301adfcbf1f918e0aa549fd4581f213f0ca064</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(cuda): 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-22T08:10:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b9729e42c0ba4bf40c055b497e4d5c4d24e71814'/>
<id>urn:sha1:b9729e42c0ba4bf40c055b497e4d5c4d24e71814</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(cuda): add __grid_constant__</title>
<updated>2022-05-15T08:37:14Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-05-14T11:42:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a401f6ce7d0fa23b77e20f530701f42f8cbe20fb'/>
<id>urn:sha1:a401f6ce7d0fa23b77e20f530701f42f8cbe20fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>injections(cuda): add injections.scm</title>
<updated>2021-07-20T06:32:58Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-07-19T20:06:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=182efd525c02246156129f2144bfe50d7e521d1a'/>
<id>urn:sha1:182efd525c02246156129f2144bfe50d7e521d1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(cuda): add support for __launch_bounds__</title>
<updated>2021-07-20T06:32:34Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-07-19T19:05:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c4a6d934081cfef8a794060afa9dfbbbf28e439e'/>
<id>urn:sha1:c4a6d934081cfef8a794060afa9dfbbbf28e439e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(cuda): add support for __restrict__</title>
<updated>2021-07-06T17:38:58Z</updated>
<author>
<name>Stephan Seitz</name>
<email>sseitz@nvidia.com</email>
</author>
<published>2021-07-06T09:51:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f280847b7809a467d6c2c7eb6ab34a5ed7ca39d6'/>
<id>urn:sha1:f280847b7809a467d6c2c7eb6ab34a5ed7ca39d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>parsers: add tree-sitter-cuda</title>
<updated>2021-06-14T05:30:51Z</updated>
<author>
<name>Stephan Seitz</name>
<email>sseitz@nvidia.com</email>
</author>
<published>2021-06-09T16:47:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8eb37c4409b2c9c0dcef6f8bdc80f31d7085cd9b'/>
<id>urn:sha1:8eb37c4409b2c9c0dcef6f8bdc80f31d7085cd9b</id>
<content type='text'>
</content>
</entry>
</feed>
