<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/r/highlights.scm, branch test/init</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/r/highlights.scm?h=test%2Finit</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/r/highlights.scm?h=test%2Finit'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-05-12T16:43:40Z</updated>
<entry>
<title>feat!: drop modules, general refactor and cleanup</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-06-12T15:54:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=692b051b09935653befdb8f7ba8afdb640adf17b'/>
<id>urn:sha1:692b051b09935653befdb8f7ba8afdb640adf17b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(r): resolve highlight regressions</title>
<updated>2024-06-29T07:26:53Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-06-29T04:52:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f0e3b5c5fe38d0012c63368db90017fef87c85a2'/>
<id>urn:sha1:f0e3b5c5fe38d0012c63368db90017fef87c85a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(r)!: update parser and queries</title>
<updated>2024-06-27T13:31:41Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-06-15T12:39:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5373c90c55a33408604d17713edaa9560306b83d'/>
<id>urn:sha1:5373c90c55a33408604d17713edaa9560306b83d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(awk,cmake,python,r,starlark): deactivate spelling in shebangs</title>
<updated>2024-05-01T13:01:48Z</updated>
<author>
<name>Kai Moschcau</name>
<email>kai.moschcau@blecon.de</email>
</author>
<published>2024-04-29T12:56:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=60c2b084c2646d0664fd7fce9418a01d387dd713'/>
<id>urn:sha1:60c2b084c2646d0664fd7fce9418a01d387dd713</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(r): highlight comma separators</title>
<updated>2024-04-17T03:03:20Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-04-17T00:09:09Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4c84b831082da6d3987edb0a51fabbcca6ceaa83'/>
<id>urn:sha1:4c84b831082da6d3987edb0a51fabbcca6ceaa83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(format): drop extra indentation for field</title>
<updated>2024-03-21T14:51:26Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-03-21T11:44:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=722617e6726c1508adadf83d531f54987c703be0'/>
<id>urn:sha1:722617e6726c1508adadf83d531f54987c703be0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: format queries</title>
<updated>2024-01-21T14:55:02Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-21T13:05:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=77e298e4de607d69aa7f37dc6dcba6aee131ac7f'/>
<id>urn:sha1:77e298e4de607d69aa7f37dc6dcba6aee131ac7f</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>refactor: Remove all `(ERROR) @error` captures</title>
<updated>2023-10-25T16:18:50Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-10-25T07:45:14Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=107e61afb7129d637ea6c3c68b97a22194b0bf16'/>
<id>urn:sha1:107e61afb7129d637ea6c3c68b97a22194b0bf16</id>
<content type='text'>
As discussed in PR#5421, capturing `@error` is inconsistent, requiring
deep nesting (or priority) in order to correctly have red backgrounds to
it.

Some queries has this capture, some don't. For consistency purposes,
removing all of them is more preferable.

For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)`
to your custom queries.
</content>
</entry>
<entry>
<title>perf: remove match where possible</title>
<updated>2023-04-21T22:24:17Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-21T08:06:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=85330918f05b3a4bd342a69063e7ef5fcdfadd2e'/>
<id>urn:sha1:85330918f05b3a4bd342a69063e7ef5fcdfadd2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: fix typos</title>
<updated>2023-03-29T22:28:56Z</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-03-29T21:47:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1727f63976614da8180669a52cb849bf8b4ce635'/>
<id>urn:sha1:1727f63976614da8180669a52cb849bf8b4ce635</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move 'in' to repeat</title>
<updated>2022-12-31T12:50:47Z</updated>
<author>
<name>Pedro Castro</name>
<email>aspeddro@gmail.com</email>
</author>
<published>2022-11-29T17:07:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6d2b0bd381428f5e550234dd058215502baeb3ab'/>
<id>urn:sha1:6d2b0bd381428f5e550234dd058215502baeb3ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix test</title>
<updated>2022-12-31T12:50:47Z</updated>
<author>
<name>Pedro Castro</name>
<email>aspeddro@gmail.com</email>
</author>
<published>2022-11-29T16:54:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ec3d4af1045f403c2e7f45d3df8b5db0b1658739'/>
<id>urn:sha1:ec3d4af1045f403c2e7f45d3df8b5db0b1658739</id>
<content type='text'>
</content>
</entry>
<entry>
<title>r: move inf to constant.builtin</title>
<updated>2022-12-31T12:50:47Z</updated>
<author>
<name>Pedro Castro</name>
<email>aspeddro@gmail.com</email>
</author>
<published>2022-10-30T02:09:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=966393dc38ddc8fd9af8bd5f987493fd83b9af35'/>
<id>urn:sha1:966393dc38ddc8fd9af8bd5f987493fd83b9af35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>r: update highlights</title>
<updated>2022-12-31T12:50:47Z</updated>
<author>
<name>Pedro Castro</name>
<email>aspeddro@gmail.com</email>
</author>
<published>2022-10-30T01:53:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=58c0d78de8d4fee3742381d77173ea50e828b47b'/>
<id>urn:sha1:58c0d78de8d4fee3742381d77173ea50e828b47b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights: use @preproc where appropriate</title>
<updated>2022-10-15T15:49:01Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-09-18T17:15:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9b43ab819c756f01d2977cd481bdcaead6867174'/>
<id>urn:sha1:9b43ab819c756f01d2977cd481bdcaead6867174</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(r): add spell</title>
<updated>2022-10-15T11:03:45Z</updated>
<author>
<name>Maximilian Muecke</name>
<email>muecke.maximilian@gmail.com</email>
</author>
<published>2022-10-06T08:13:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f67fd904b747a739d9c65b564247771493cb6fc8'/>
<id>urn:sha1:f67fd904b747a739d9c65b564247771493cb6fc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>r(highlights): fix default_parameter</title>
<updated>2022-03-28T20:21:25Z</updated>
<author>
<name>Pedro Castro</name>
<email>aspeddro@gmail.com</email>
</author>
<published>2022-03-28T20:13:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=3b974b7257516e4ea89d10dd9842b1035a540d7e'/>
<id>urn:sha1:3b974b7257516e4ea89d10dd9842b1035a540d7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>r(highlights): add default parameter/argument (#2688)</title>
<updated>2022-03-28T19:17:28Z</updated>
<author>
<name>Pedro Castro</name>
<email>aspeddro@gmail.com</email>
</author>
<published>2022-03-28T19:17:28Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=249cd3ac3ec7e237310def2cc91602271eace255'/>
<id>urn:sha1:249cd3ac3ec7e237310def2cc91602271eace255</id>
<content type='text'>
* Update lockfile.json

* r(highlights): default argument/parameter and some updates</content>
</entry>
<entry>
<title>highlights(r): highlight string_escape, change parameter priority and update pipe</title>
<updated>2022-01-28T13:32:58Z</updated>
<author>
<name>Pedro Castro</name>
<email>aspeddro@gmail.com</email>
</author>
<published>2022-01-27T15:06:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=07770b2daaeefb0b6166788af269cb67a9f0609c'/>
<id>urn:sha1:07770b2daaeefb0b6166788af269cb67a9f0609c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(r): change groups priority</title>
<updated>2022-01-22T10:31:58Z</updated>
<author>
<name>Pedro Castro</name>
<email>aspeddro@gmail.com</email>
</author>
<published>2022-01-22T09:16:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6a958eccef160fffe5d4ccacfc2e0de971c92602'/>
<id>urn:sha1:6a958eccef160fffe5d4ccacfc2e0de971c92602</id>
<content type='text'>
</content>
</entry>
<entry>
<title>r add new highlights</title>
<updated>2021-11-18T13:16:09Z</updated>
<author>
<name>aspeddro</name>
<email>pdesacastro@gmail.com</email>
</author>
<published>2021-11-16T00:24:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=190bcc8d56c0b4c5047492d17b1615c6e89139af'/>
<id>urn:sha1:190bcc8d56c0b4c5047492d17b1615c6e89139af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>r add new highlights</title>
<updated>2021-11-12T21:02:52Z</updated>
<author>
<name>aspeddro</name>
<email>pdesacastro@gmail.com</email>
</author>
<published>2021-11-12T20:50:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=741812af8f7480d828006994b752db00978ffdb2'/>
<id>urn:sha1:741812af8f7480d828006994b752db00978ffdb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>r: add new operator</title>
<updated>2021-11-12T17:48:26Z</updated>
<author>
<name>aspeddro</name>
<email>pdesacastro@gmail.com</email>
</author>
<published>2021-11-12T05:51:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5706b1346b3b79cf2d61006c1a2b77775506ccf3'/>
<id>urn:sha1:5706b1346b3b79cf2d61006c1a2b77775506ccf3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `@keyword.function` consistently</title>
<updated>2021-07-05T22:53:40Z</updated>
<author>
<name>Sergio Alejandro Vargas</name>
<email>savargasqu+git@unal.edu.co</email>
</author>
<published>2021-07-05T20:04:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=820b4a9c211a49c878ce3f19ed5c349509e7988f'/>
<id>urn:sha1:820b4a9c211a49c878ce3f19ed5c349509e7988f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update queries for R language.</title>
<updated>2021-03-16T17:52:43Z</updated>
<author>
<name>echasnovski</name>
<email>evgeni.chasnovski@gmail.com</email>
</author>
<published>2021-03-09T19:51:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=702114270be65004af3cf565de0c3aaf1d99cd8d'/>
<id>urn:sha1:702114270be65004af3cf565de0c3aaf1d99cd8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for R language.</title>
<updated>2021-03-16T17:52:43Z</updated>
<author>
<name>echasnovski</name>
<email>evgeni.chasnovski@gmail.com</email>
</author>
<published>2021-03-09T19:06:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=773ec8eefc6509dcde1b67f0913e879634dbccf2'/>
<id>urn:sha1:773ec8eefc6509dcde1b67f0913e879634dbccf2</id>
<content type='text'>
</content>
</entry>
</feed>
