nvim-treesitter/tests/indent
Ryan Roden-Corrent f67eb83be5 feat(indent): Implement basic indent for gdscript.
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
```
2022-01-24 13:11:01 +01:00
..
c add compound_lit.c test 2021-08-01 11:01:47 +02:00
cpp move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
ecma feat(indent): ecma - support common use-cases 2022-01-21 16:40:36 +01:00
gdscript feat(indent): Implement basic indent for gdscript. 2022-01-24 13:11:01 +01:00
lua move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00
python feat(indent): support @aligned_indent for python 2022-01-21 10:51:51 +01:00
rust test(indent): rust - add test for indented comment 2022-01-21 16:40:36 +01:00
c_spec.lua fix(indent): c/cpp - support newline after closing brace 2022-01-21 16:40:36 +01:00
common.lua Mark failing indent tests to add them to CI 2021-11-24 17:29:55 +01:00
cpp_spec.lua fix(indent): c/cpp - support newline after closing brace 2022-01-21 16:40:36 +01:00
gdscript_spec.lua feat(indent): Implement basic indent for gdscript. 2022-01-24 13:11:01 +01:00
javascript_spec.lua feat(indent): ecma - support common use-cases 2022-01-21 16:40:36 +01:00
lua_spec.lua feat: rewrite indent module 2022-01-21 10:51:51 +01:00
python_spec.lua feat(indent): support @aligned_indent for python 2022-01-21 10:51:51 +01:00
rust_spec.lua test(indent): rust - add test for indented comment 2022-01-21 16:40:36 +01:00