<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/yaml/indents.scm, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/yaml/indents.scm?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/yaml/indents.scm?h=fix%2Flua'/>
<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>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>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>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>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>
</feed>
