<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/tests/indent/gdscript, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/tests/indent/gdscript?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/tests/indent/gdscript?h=fix%2Flua'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2022-01-24T12:11:01Z</updated>
<entry>
<title>feat(indent): Implement basic indent for gdscript.</title>
<updated>2022-01-24T12:11:01Z</updated>
<author>
<name>Ryan Roden-Corrent</name>
<email>ryan@rcorre.net</email>
</author>
<published>2022-01-23T18:44:36Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f67eb83be5f8c49f1a7621553458227b786b1b0c'/>
<id>urn:sha1: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>
</entry>
</feed>
