test(go): add cases for newlines de-indentation

test(go): combine new indent test cases

test(go): add incorrect indent after var closing )

this case does not work correctly already so add that in since this PR
does not address that case

test(go): set current lines in indent test

test(go): simplify test case
This commit is contained in:
Akin Sowemimo 2022-04-18 12:19:31 +01:00 committed by Stephan Seitz
parent eb0eb67bc5
commit bca65c068b
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,8 @@
// https://github.com/nvim-treesitter/nvim-treesitter/issues/2369
package main
import "fmt"
func new_line() {
fmt.Println("Hello, World!")
}