<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/fish, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/fish?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/fish?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-04-15T12:24:15Z</updated>
<entry>
<title>feat(fish): highlight $ punctuation.special</title>
<updated>2025-04-15T12:24:15Z</updated>
<author>
<name>Peter Cardenas</name>
<email>16930781+PeterCardenas@users.noreply.github.com</email>
</author>
<published>2025-04-15T11:36:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=684eeac91ed8e297685a97ef70031d19ac1de25a'/>
<id>urn:sha1:684eeac91ed8e297685a97ef70031d19ac1de25a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(fish): add variable.builtin highlights</title>
<updated>2025-04-15T12:24:15Z</updated>
<author>
<name>Peter Cardenas</name>
<email>16930781+PeterCardenas@users.noreply.github.com</email>
</author>
<published>2025-04-15T11:35:40Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=54fc8e311c8453bcf5ef968e0375892634bbebd0'/>
<id>urn:sha1:54fc8e311c8453bcf5ef968e0375892634bbebd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(bash,fish): 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:48:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=46cac01880606f07004f35eed174c2f1b01cce46'/>
<id>urn:sha1:46cac01880606f07004f35eed174c2f1b01cce46</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: update downstream fish highlights</title>
<updated>2024-04-04T10:22:50Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2024-04-03T18:30:34Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8f444c9fcb7f9610184a34b44e922fa30989c96f'/>
<id>urn:sha1:8f444c9fcb7f9610184a34b44e922fa30989c96f</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(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: 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>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>indents(fish): Add "end" and "case" (#5029)</title>
<updated>2023-06-28T06:56:44Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-06-28T06:56:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=949edb8c5252336b8059a98547d8d1a3ab1e6752'/>
<id>urn:sha1:949edb8c5252336b8059a98547d8d1a3ab1e6752</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>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>chore(fish): update test command highlight query (#4306)</title>
<updated>2023-02-12T22:19:48Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>59267627+ram02z@users.noreply.github.com</email>
</author>
<published>2023-02-12T22:19:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ab5cc6414e110724ef2e21c7126e5a7242ceba21'/>
<id>urn:sha1:ab5cc6414e110724ef2e21c7126e5a7242ceba21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(fish): "test" command capture name</title>
<updated>2022-11-24T08:37:39Z</updated>
<author>
<name>taekwombo</name>
<email>88032359+taekwombo@users.noreply.github.com</email>
</author>
<published>2022-11-24T07:23:09Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fb4058448a61ee52e18cf2d2a12de3d241b33201'/>
<id>urn:sha1:fb4058448a61ee52e18cf2d2a12de3d241b33201</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(fish): update for upstream changes</title>
<updated>2022-11-24T00:36:18Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-11-24T00:23:08Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b79c763c03a236833a60b4865b02412b3e4a9799'/>
<id>urn:sha1:b79c763c03a236833a60b4865b02412b3e4a9799</id>
<content type='text'>
https://github.com/ram02z/tree-sitter-fish/pull/16

Co-authored-by: taekwombo &lt;taekwombo@users.noreply.github.com&gt;
</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>Add spell query</title>
<updated>2022-09-11T11:21:53Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2022-09-11T10:22:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=05a07e6e34eda93b41e0de3f5d72bf2b4d60f7b0'/>
<id>urn:sha1:05a07e6e34eda93b41e0de3f5d72bf2b4d60f7b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(fish): use `@function.call`</title>
<updated>2022-09-11T11:16:06Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-08-29T21:40:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4b32b75d4d249d5eba0cac4086fb5769b8965365'/>
<id>urn:sha1:4b32b75d4d249d5eba0cac4086fb5769b8965365</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlight(fish): dollar command substitution</title>
<updated>2022-03-16T12:11:23Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2022-03-14T15:11:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=44bf2b7facfda983fc8fdefa99a16ac829eea5fd'/>
<id>urn:sha1:44bf2b7facfda983fc8fdefa99a16ac829eea5fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(keywords) merge return and yield into keyword.return group</title>
<updated>2021-07-04T19:49:17Z</updated>
<author>
<name>antonk52</name>
<email>halloy52@gmail.com</email>
</author>
<published>2021-07-04T17:24:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=90f15d9bf750e35666e029174481dafbe5fde817'/>
<id>urn:sha1:90f15d9bf750e35666e029174481dafbe5fde817</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(keywords) add keyword.return &amp; keyword.yield</title>
<updated>2021-07-04T19:49:17Z</updated>
<author>
<name>antonk52</name>
<email>halloy52@gmail.com</email>
</author>
<published>2021-07-04T16:55:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bd9095e96986fbb65829a3dbc598f9b35d9b7db2'/>
<id>urn:sha1:bd9095e96986fbb65829a3dbc598f9b35d9b7db2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>locals: add more scopes</title>
<updated>2021-07-04T19:48:20Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2021-07-04T18:54:08Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=859c7432967a34d9c51f5cb50d39242e519ae164'/>
<id>urn:sha1:859c7432967a34d9c51f5cb50d39242e519ae164</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fish: only highlight 'test' keyword instead of entire condition (#1464)</title>
<updated>2021-07-02T09:52:24Z</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-07-02T09:52:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c71edcd781c869b8e8557e5d6f2792e5e1ca8a78'/>
<id>urn:sha1:c71edcd781c869b8e8557e5d6f2792e5e1ca8a78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix boolean highlight</title>
<updated>2021-06-06T21:10:00Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2021-06-06T18:55:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0c5b61b2aa43f2d6d66a704f44a8c9a5491abde4'/>
<id>urn:sha1:0c5b61b2aa43f2d6d66a704f44a8c9a5491abde4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use any_of predicate for builtin functions</title>
<updated>2021-06-06T21:10:00Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2021-06-06T16:41:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1289f56fe9f7514ce66482010242cbcf8a9d7509'/>
<id>urn:sha1:1289f56fe9f7514ce66482010242cbcf8a9d7509</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fish: move `test` to `test_command`</title>
<updated>2021-05-17T21:24:46Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2021-05-17T20:51:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=801adf237723cc982321de8131505b82c59b87ea'/>
<id>urn:sha1:801adf237723cc982321de8131505b82c59b87ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(fish): highlight test_option</title>
<updated>2021-05-17T18:46:34Z</updated>
<author>
<name>Thomas Vigouroux</name>
<email>tomvig38@gmail.com</email>
</author>
<published>2021-05-17T17:43:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ae7c5c9fdbe79cf4d6987562781c45b980980ada'/>
<id>urn:sha1:ae7c5c9fdbe79cf4d6987562781c45b980980ada</id>
<content type='text'>
</content>
</entry>
<entry>
<title>comment: remove `@combined`</title>
<updated>2021-05-16T22:37:32Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2021-05-16T20:22:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=71247a4a658a7678328fa6224ede103dcf1268fc'/>
<id>urn:sha1:71247a4a658a7678328fa6224ede103dcf1268fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add fish queries</title>
<updated>2021-05-07T08:12:31Z</updated>
<author>
<name>Omar Zeghouani</name>
<email>omarzeghouanii@gmail.com</email>
</author>
<published>2021-05-01T22:24:34Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=83f7739071855fda38e500cc46e6e05c52fe9140'/>
<id>urn:sha1:83f7739071855fda38e500cc46e6e05c52fe9140</id>
<content type='text'>
Add isatty as builtin

Update function_definition option

Update highlights.scm per review

Fix list indentation

Add maintainer names
</content>
</entry>
</feed>
