<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/v, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/v?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/v?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2024-06-28T03:33:06Z</updated>
<entry>
<title>fix(v): anchor comment highlight query</title>
<updated>2024-06-28T03:33:06Z</updated>
<author>
<name>Turiiya</name>
<email>34311583+ttytm@users.noreply.github.com</email>
</author>
<published>2024-06-28T03:33:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cf7baac35aa5c103b960bcb3f15c690a4aa5c6f1'/>
<id>urn:sha1:cf7baac35aa5c103b960bcb3f15c690a4aa5c6f1</id>
<content type='text'>
* fix(v): use `source_file` as parent node for comment highlight query

* fix: correctly recognize doc comment</content>
</entry>
<entry>
<title>feat(v): add shebang query</title>
<updated>2024-06-26T08:54:01Z</updated>
<author>
<name>Turiiya</name>
<email>34311583+ttytm@users.noreply.github.com</email>
</author>
<published>2024-06-26T07:52:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=53b32a6aa3e1de224e82f88cbdc08584c753adb7'/>
<id>urn:sha1:53b32a6aa3e1de224e82f88cbdc08584c753adb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: more `@keyword.type` captures</title>
<updated>2024-05-01T07:59:50Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-04-23T19:23:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f58cae6c228e26681039253cb172de16cd764408'/>
<id>urn:sha1:f58cae6c228e26681039253cb172de16cd764408</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bot(lockfile): update beancount, liquid, ocaml, ocaml_interface, v, vento, wing</title>
<updated>2024-03-30T11:16:35Z</updated>
<author>
<name>nvim-treesitter-bot[bot]</name>
<email>157957100+nvim-treesitter-bot[bot]@users.noreply.github.com</email>
</author>
<published>2024-03-30T06:35:04Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5127a844073d56df9ee4e64ccfc17ecc294e38b5'/>
<id>urn:sha1:5127a844073d56df9ee4e64ccfc17ecc294e38b5</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>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-scripts): linewrap predicates</title>
<updated>2024-02-23T08:42:01Z</updated>
<author>
<name>再生花</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-02-23T08:42:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=31641d72a4c33536e9d5fc8f829d2ba84211af8a'/>
<id>urn:sha1:31641d72a4c33536e9d5fc8f829d2ba84211af8a</id>
<content type='text'>
"format-ignore".kick()</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>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>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(locals)!: switch to upstream captures</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-07-22T13:29:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5'/>
<id>urn:sha1:5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(v): adapt to removed  scanner.c</title>
<updated>2023-12-15T09:24:32Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-12-15T09:00:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9bc1f1e6406933e9263456e5761e47b9cb1da71d'/>
<id>urn:sha1:9bc1f1e6406933e9263456e5761e47b9cb1da71d</id>
<content type='text'>
</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>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>refactor(v)!: update upstream repository</title>
<updated>2023-07-04T09:08:07Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-07-04T08:12:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=46b1ad3de2942dcf05f18d124b25fb6ee691c5bf'/>
<id>urn:sha1:46b1ad3de2942dcf05f18d124b25fb6ee691c5bf</id>
<content type='text'>
</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>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>v(injections): inject regex for some methods in `re` module</title>
<updated>2023-03-03T20:14:58Z</updated>
<author>
<name>Yochem van Rosmalen</name>
<email>yochem+git@icloud.com</email>
</author>
<published>2023-03-03T17:55:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=190561df8995ff9526c06d33cf17416b9e0791e3'/>
<id>urn:sha1:190561df8995ff9526c06d33cf17416b9e0791e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: fix typos</title>
<updated>2023-02-23T19:39:43Z</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-02-23T19:30:36Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4612212c72a3fe683cbca2f99977ad63b942f70e'/>
<id>urn:sha1:4612212c72a3fe683cbca2f99977ad63b942f70e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split func/method definition from calls in several programming language queries</title>
<updated>2022-08-03T19:05:30Z</updated>
<author>
<name>lfenzo</name>
<email>lfenzo@protonmail.com</email>
</author>
<published>2022-07-30T00:09:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c784720917bacb6716ce35ef07d464f5da738dd7'/>
<id>urn:sha1:c784720917bacb6716ce35ef07d464f5da738dd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(vlang): add `attribute_declaration` and specialize some keywords</title>
<updated>2022-05-21T11:48:58Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-02-26T12:54:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4da1d0702aa33ff5a8da6590bbb362e645c76a5f'/>
<id>urn:sha1:4da1d0702aa33ff5a8da6590bbb362e645c76a5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: highlight string_interpolation identifiers</title>
<updated>2022-05-21T11:48:58Z</updated>
<author>
<name>tami5</name>
<email>kkharji@protonmail.com</email>
</author>
<published>2022-02-23T13:53:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ad77a80813fcdbfd880df3a363c2f5ab41d76146'/>
<id>urn:sha1:ad77a80813fcdbfd880df3a363c2f5ab41d76146</id>
<content type='text'>
functions call work without issues
</content>
</entry>
<entry>
<title>chore: add more builtin variables</title>
<updated>2022-05-21T11:48:58Z</updated>
<author>
<name>tami5</name>
<email>kkharji@protonmail.com</email>
</author>
<published>2022-02-23T13:02:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d039b4d0a4459245d78356c9739814fda9826427'/>
<id>urn:sha1:d039b4d0a4459245d78356c9739814fda9826427</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: add $else keyword</title>
<updated>2022-05-21T11:48:58Z</updated>
<author>
<name>tami5</name>
<email>kkharji@protonmail.com</email>
</author>
<published>2022-02-23T12:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b34aadbcb3036502f3aafdb590f0199acad3d301'/>
<id>urn:sha1:b34aadbcb3036502f3aafdb590f0199acad3d301</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore(vlang): rename set! &gt; #set!</title>
<updated>2022-05-21T11:48:58Z</updated>
<author>
<name>tami5</name>
<email>kkharji@protonmail.com</email>
</author>
<published>2022-02-23T02:54:34Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=08092ecc06bc5d4e127285451c1ced5825ea18bc'/>
<id>urn:sha1:08092ecc06bc5d4e127285451c1ced5825ea18bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>parser(vlang): fix location of remote repo</title>
<updated>2022-05-21T11:48:58Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-02-22T17:48:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c19d14f39593ff9bc028db6db35f9fc60966543b'/>
<id>urn:sha1:c19d14f39593ff9bc028db6db35f9fc60966543b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(vlang): initial support</title>
<updated>2022-05-21T11:48:58Z</updated>
<author>
<name>tami5</name>
<email>kkharji@protonmail.com</email>
</author>
<published>2022-02-22T14:36:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=010f3642956099806f25793f92ba58f1a3114c17'/>
<id>urn:sha1:010f3642956099806f25793f92ba58f1a3114c17</id>
<content type='text'>
Add support for vlang filetypes.

- [ ] Highlight `C` as builtin variable. This is FFI in vlang land,
  where C act like extern and access c functions. The vlang parser does
  some extension between C function calls and arguments but I believe
  highlighting C as builtin variable is sufficient indicator for now. I
  tried to use offset! but failed. Any suggestions?
- [ ] Set up parser url. the vlang parser is located within [vls] repo. Is
  installing from nested repo supported? `tree_sitter_v/src/parser.c`?

[vls]: https://github.com/vlang/vls/tree/master/tree_sitter_v

cc @elianiva @theHamsta
</content>
</entry>
</feed>
