<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/d, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/d?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/d?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2024-07-28T09:50:54Z</updated>
<entry>
<title>bot(lockfile)!: update d, latex</title>
<updated>2024-07-28T09:50:54Z</updated>
<author>
<name>nvim-treesitter-bot[bot]</name>
<email>157957100+nvim-treesitter-bot[bot]@users.noreply.github.com</email>
</author>
<published>2024-07-28T06:39:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2d5133f67429f82547ea5fad33a0b1e7d4f78a1c'/>
<id>urn:sha1:2d5133f67429f82547ea5fad33a0b1e7d4f78a1c</id>
<content type='text'>
adapt d injections to breaking grammar change
</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(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(d)!: switch upstream parser to `gdamore/tree-sitter-d`</title>
<updated>2024-02-08T23:59:04Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2024-01-26T07:48:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=76700e147bfab7630e6b97f91b32397175e8153f'/>
<id>urn:sha1:76700e147bfab7630e6b97f91b32397175e8153f</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>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>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(d): 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:00:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f30ae4da0d593810544c10667b1b9c3e0b438082'/>
<id>urn:sha1:f30ae4da0d593810544c10667b1b9c3e0b438082</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(d): highlight ":"</title>
<updated>2022-01-30T10:10:08Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-01-29T22:56:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=49f910e9f2e0e58dd8be2e2150e3c6f823d5b49b'/>
<id>urn:sha1:49f910e9f2e0e58dd8be2e2150e3c6f823d5b49b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>D: fix duplicate `@namespace` capture</title>
<updated>2021-10-31T09:22:43Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-10-30T16:50:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0dd147e6b7bcd9735940e32f211ac03416b1a74b'/>
<id>urn:sha1:0dd147e6b7bcd9735940e32f211ac03416b1a74b</id>
<content type='text'>
The previous query was highlighting everything inside that node,
but we only want to highlight the identifiers.

Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1930/files#r735105675
</content>
</entry>
<entry>
<title>fix(d): don't use string_literals</title>
<updated>2021-10-20T07:16:20Z</updated>
<author>
<name>Cezary Drożak</name>
<email>czarek@drozak.net</email>
</author>
<published>2021-10-17T11:25:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6cefdf3babec509807b07b543d28ec5db647dab9'/>
<id>urn:sha1:6cefdf3babec509807b07b543d28ec5db647dab9</id>
<content type='text'>
string_literals is not used in single argument template instances. The
nodes are from [1].

[1]: https://github.com/CyberShadow/tree-sitter-d/blob/c2fbf21bd3aa45495fe13247e040ad5815250032/grammar.js#L536
</content>
</entry>
<entry>
<title>parsers: add D parser</title>
<updated>2021-10-07T20:43:09Z</updated>
<author>
<name>Cezary Drożak</name>
<email>czarek@drozak.net</email>
</author>
<published>2021-10-01T09:33:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c2c454c29a92e2d0db955fc1d6841566c28e3ecd'/>
<id>urn:sha1:c2c454c29a92e2d0db955fc1d6841566c28e3ecd</id>
<content type='text'>
</content>
</entry>
</feed>
