<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/yaml, branch v0.9.2</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/yaml?h=v0.9.2</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/yaml?h=v0.9.2'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2023-10-25T16:18:50Z</updated>
<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>fix(yaml): promql injections block</title>
<updated>2023-09-15T10:53:44Z</updated>
<author>
<name>Christian Segundo</name>
<email>christian.segundo@cabify.com</email>
</author>
<published>2023-09-15T10:22:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=831dbb619e0e00d52fe7e636d28dddb683013666'/>
<id>urn:sha1:831dbb619e0e00d52fe7e636d28dddb683013666</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(yaml): typo in promql injection (#5130)</title>
<updated>2023-07-19T16:41:50Z</updated>
<author>
<name>Constantine Bulany</name>
<email>61948252+lostl1ght@users.noreply.github.com</email>
</author>
<published>2023-07-19T16:41:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4115fad9fded72571bdc3e0f7351e64b31799a3d'/>
<id>urn:sha1:4115fad9fded72571bdc3e0f7351e64b31799a3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(promql,yaml): add parser and yaml injections</title>
<updated>2023-07-18T07:03:11Z</updated>
<author>
<name>Michael Hoffmann</name>
<email>mhoffm@posteo.de</email>
</author>
<published>2023-07-08T17:44:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b64ea2ec444c27efd8d3bd2377a8b24589954363'/>
<id>urn:sha1:b64ea2ec444c27efd8d3bd2377a8b24589954363</id>
<content type='text'>
Signed-off-by: Michael Hoffmann &lt;mhoffm@posteo.de&gt;
</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>injections(yaml): fix injections</title>
<updated>2022-12-21T22:38:07Z</updated>
<author>
<name>figsoda</name>
<email>figsoda@pm.me</email>
</author>
<published>2022-12-01T15:38:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d2d8980c5cef0d42aa7a2444d95d3c06fd216720'/>
<id>urn:sha1:d2d8980c5cef0d42aa7a2444d95d3c06fd216720</id>
<content type='text'>
</content>
</entry>
<entry>
<title>folds(yaml): Fold at the entire node, not at the body.</title>
<updated>2022-10-16T23:06:09Z</updated>
<author>
<name>Jongwook Choi</name>
<email>wookayin@gmail.com</email>
</author>
<published>2022-09-17T06:12:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1a04759d9111da150cae7f249a32dfdbd08478bb'/>
<id>urn:sha1:1a04759d9111da150cae7f249a32dfdbd08478bb</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>feat(spell): support more languages</title>
<updated>2022-09-26T12:47:12Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-09-26T09:19:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=37398c7d68826c8d6ae3f85cc52d83fd3dee4f84'/>
<id>urn:sha1:37398c7d68826c8d6ae3f85cc52d83fd3dee4f84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(indents/yaml): only indent mapping pair if value is a block</title>
<updated>2022-06-14T20:37:52Z</updated>
<author>
<name>Phelipe Teles</name>
<email>phelipe_teles@hotmail.com</email>
</author>
<published>2022-06-06T21:23:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8bd07c88b6165f5f5bcbef251d9ec86a2c99311f'/>
<id>urn:sha1:8bd07c88b6165f5f5bcbef251d9ec86a2c99311f</id>
<content type='text'>
This improves the following situation, in which '|' is the cursor position:

```yaml
- key1: value1
  key2: value2|
```

Before this commit, by pressing Enter would result in this indentation:

```yaml
- key1: value1
  key2: value2
    |
```

Which is less convenient than this:

```yaml
- key1: value1
  key2: value2
  |
```
</content>
</entry>
<entry>
<title>fix(indents/yaml): improve error handling</title>
<updated>2022-06-14T20:37:52Z</updated>
<author>
<name>Phelipe Teles</name>
<email>phelipe_teles@hotmail.com</email>
</author>
<published>2022-06-06T01:07:37Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1a49d068a7aa4305628c9a06083d382215fba574'/>
<id>urn:sha1:1a49d068a7aa4305628c9a06083d382215fba574</id>
<content type='text'>
This helps to solve the first issue reported at #1377.

The problem is that the line loses its indentation when we start
inserting a new mapping pair (specifically, when we enter the character
":").

The issue seems to be solved by auto indenting ERROR nodes.
</content>
</entry>
<entry>
<title>fix(indents/yaml): indent sequence/list items</title>
<updated>2022-06-14T20:37:52Z</updated>
<author>
<name>Phelipe Teles</name>
<email>phelipe_teles@hotmail.com</email>
</author>
<published>2022-06-05T23:11:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5e8ec943f8b641e881fc481da076092b5b4d666d'/>
<id>urn:sha1:5e8ec943f8b641e881fc481da076092b5b4d666d</id>
<content type='text'>
This solves the second issue reported at #1377, in which the cursor
would not be aligned with the line "key2: value2" when entering a new
line below it.

```yaml
- key1: value1
  key2: value2
```
</content>
</entry>
<entry>
<title>injections(yaml): inject at command list for Gitlab script</title>
<updated>2022-02-05T17:25:35Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-02-04T20:30:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4d552d9fda92c8fb3972717e239c34cb64d98efb'/>
<id>urn:sha1:4d552d9fda92c8fb3972717e239c34cb64d98efb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>injections(yaml): injection on Gitlab's before_script/after_script</title>
<updated>2022-02-05T17:25:35Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-02-04T20:12:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=71cfcff51097011eb1cb0c3048c8a949d983b79e'/>
<id>urn:sha1:71cfcff51097011eb1cb0c3048c8a949d983b79e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>yaml(injections): Also add heuristics for Gitlab CI bash</title>
<updated>2021-11-28T14:01:34Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-11-27T17:13:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b5d05aaac8dac06b05c5d7f2d445576181d38961'/>
<id>urn:sha1:b5d05aaac8dac06b05c5d7f2d445576181d38961</id>
<content type='text'>
</content>
</entry>
<entry>
<title>injections(yaml): inject bash on key "run"</title>
<updated>2021-11-28T14:01:34Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-11-27T11:52:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ad615ffc4c829564adb2a183c78f334b42c4a959'/>
<id>urn:sha1:ad615ffc4c829564adb2a183c78f334b42c4a959</id>
<content type='text'>
</content>
</entry>
<entry>
<title>yaml: improve highlights and locals (#946)</title>
<updated>2021-10-27T03:47:59Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-10-27T03:47:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fe4e4aa286ba14e949948ef6e826d69c63048cdb'/>
<id>urn:sha1:fe4e4aa286ba14e949948ef6e826d69c63048cdb</id>
<content type='text'>
- More scopes
- Highlight strings as strings
- Recognize more keys/fields

Improvements can be seen with this weird yaml:

```yaml
{ foo: bar }
---
{a: [b, c], [d, e]: f}

---
- { single line, a: b}
- { multi
  line, a: b}
---

"fooo": bar
'foo': bar
one: two
```</content>
</entry>
<entry>
<title>Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"</title>
<updated>2021-05-07T14:51:57Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-04-30T18:22:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=67f08570152792c6a4f0815e71a0093ad97f2725'/>
<id>urn:sha1:67f08570152792c6a4f0815e71a0093ad97f2725</id>
<content type='text'>
This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
</content>
</entry>
<entry>
<title>Comment: use `@combined` to create just one tree per buffer (#1252)</title>
<updated>2021-04-28T12:19:07Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-04-28T12:19:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4a7a713c527f57c355bc817f16fc6d955b8cce9b'/>
<id>urn:sha1:4a7a713c527f57c355bc817f16fc6d955b8cce9b</id>
<content type='text'>
* Comment: use `@combined` to create just one tree per buffer

There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251

* Add injections for scss

* Fix jsonc

* Combine jsdoc</content>
</entry>
<entry>
<title>YAML: update queries (#1203)</title>
<updated>2021-04-18T21:51:03Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-04-18T21:51:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=574bd5ae37a5b460d99d10b0c315fbb3246bdc10'/>
<id>urn:sha1:574bd5ae37a5b460d99d10b0c315fbb3246bdc10</id>
<content type='text'>
Closes https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18</content>
</entry>
<entry>
<title>Yaml: update locals (#1172)</title>
<updated>2021-04-10T00:36:19Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-04-10T00:36:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c3603ddad1caea9ead043d84941fe43cc41faa7f'/>
<id>urn:sha1:c3603ddad1caea9ead043d84941fe43cc41faa7f</id>
<content type='text'>
The parser doesn't break the symbols in `*` `&amp;` from the name of
anchors/aliases. So go to definition doesn't work, but highlight of
usage does :D

Test with

```yaml
Defaults: &amp;defaults
  Company: foo
  Item: 123

Computer:
  &lt;&lt;: *defaults
  &lt;&lt;: *defaults
  Price: 3000
```

Ref https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18</content>
</entry>
<entry>
<title>Add comment parser to highlight comment tags (#893)</title>
<updated>2021-03-12T16:21:46Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-03-12T16:21:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e4083fc8e11e6585f53d62eb71778cc2af464fad'/>
<id>urn:sha1:e4083fc8e11e6585f53d62eb71778cc2af464fad</id>
<content type='text'>
Closes #236</content>
</entry>
<entry>
<title>YAML: add locals</title>
<updated>2021-02-10T21:25:12Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-02-10T02:12:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6301bf7952fd145a8c2047cf4df3e1bc04bf2a73'/>
<id>urn:sha1:6301bf7952fd145a8c2047cf4df3e1bc04bf2a73</id>
<content type='text'>
This is so incremental selection works
</content>
</entry>
<entry>
<title>Yaml: fix folds</title>
<updated>2021-02-07T14:37:21Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-02-06T23:43:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bfcf03853f2a32bcd624c1d6cd7cfaafca59e74e'/>
<id>urn:sha1:bfcf03853f2a32bcd624c1d6cd7cfaafca59e74e</id>
<content type='text'>
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/887

(block_node) includes more nodes to fold, test with:

```yaml
days:
  Monday:
    - test: example
  Tuesday:
    - test: example
  Wednesday:
    - test: example
    - test: example
  Thursday:
    - test: example
  Friday:
    - test: example
    - foo: |
        One
        Two
        Three
```
</content>
</entry>
<entry>
<title>feat: added more indent queries</title>
<updated>2021-01-14T13:43:04Z</updated>
<author>
<name>elianiva</name>
<email>dicha.arkana03@gmail.com</email>
</author>
<published>2021-01-05T12:26:08Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9184cf395372307df5fd4d7b2cc89f6dea698285'/>
<id>urn:sha1:9184cf395372307df5fd4d7b2cc89f6dea698285</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: added more fold queries</title>
<updated>2021-01-04T10:51:23Z</updated>
<author>
<name>elianiva</name>
<email>dicha.arkana03@gmail.com</email>
</author>
<published>2021-01-04T08:46:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=842077acf7f5f77c940c385270ccc5f318a548a0'/>
<id>urn:sha1:842077acf7f5f77c940c385270ccc5f318a548a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wildcards to capture keys</title>
<updated>2020-12-25T14:56:49Z</updated>
<author>
<name>David Hotham</name>
<email>david.hotham@metaswitch.com</email>
</author>
<published>2020-12-16T22:00:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cafe733e23cc3822bb303d70e8f71fe1e72136c9'/>
<id>urn:sha1:cafe733e23cc3822bb303d70e8f71fe1e72136c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>simplify treatement of escape sequences</title>
<updated>2020-12-25T14:56:49Z</updated>
<author>
<name>David Hotham</name>
<email>david.hotham@metaswitch.com</email>
</author>
<published>2020-12-16T10:47:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=dc0432aa54aec38ebf2676825518bddf7d2d37bc'/>
<id>urn:sha1:dc0432aa54aec38ebf2676825518bddf7d2d37bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove plus from list of punctuation</title>
<updated>2020-12-25T14:56:49Z</updated>
<author>
<name>David Hotham</name>
<email>david.hotham@metaswitch.com</email>
</author>
<published>2020-12-16T10:38:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=18fd5709b7419c9a0fe36b349375736959d6e0ff'/>
<id>urn:sha1:18fd5709b7419c9a0fe36b349375736959d6e0ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>first draft of YAML highlighting</title>
<updated>2020-12-25T14:56:49Z</updated>
<author>
<name>David Hotham</name>
<email>david.hotham@metaswitch.com</email>
</author>
<published>2020-12-16T09:59:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4addec13616481f99e0400586f0b60b4314ef5a2'/>
<id>urn:sha1:4addec13616481f99e0400586f0b60b4314ef5a2</id>
<content type='text'>
</content>
</entry>
</feed>
