<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter.git/tests/indent/gdscript, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nvim-treesitter.git/'/>
<entry>
<title>feat(indent): Implement basic indent for gdscript.</title>
<updated>2022-01-24T12:11:01+00:00</updated>
<author>
<name>Ryan Roden-Corrent</name>
<email>ryan@rcorre.net</email>
</author>
<published>2022-01-23T18:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nvim-treesitter.git/commit/?id=f67eb83be5f8c49f1a7621553458227b786b1b0c'/>
<id>f67eb83be5f8c49f1a7621553458227b786b1b0c</id>
<content type='text'>
Indent is not handled correctly when adding new lines.
It seems that functions/loops/etc. are not recognized until they have at
least one indented block.

For example, if you enter a newline after `func foo():`, the cursor will
not be indented. If you manually indent and add a line like `pass`,
e.g.:

```
func foo():
    pass
```

now any insertions above or below `pass` will be indented correctly.
This might be an issue with the grammar, as it seems to apply to highlights
as well.

The following will not be highligted

```
func foo():
```

However, the following will be:

```
func foo():
    pass
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Indent is not handled correctly when adding new lines.
It seems that functions/loops/etc. are not recognized until they have at
least one indented block.

For example, if you enter a newline after `func foo():`, the cursor will
not be indented. If you manually indent and add a line like `pass`,
e.g.:

```
func foo():
    pass
```

now any insertions above or below `pass` will be indented correctly.
This might be an issue with the grammar, as it seems to apply to highlights
as well.

The following will not be highligted

```
func foo():
```

However, the following will be:

```
func foo():
    pass
```
</pre>
</div>
</content>
</entry>
</feed>
