nvim-treesitter/tests/indent/go/issue-2369.go

20 lines
333 B
Go
Raw Normal View History

2022-01-25 22:19:10 +01:00
// https://github.com/nvim-treesitter/nvim-treesitter/issues/2369
package main
import "fmt"
func goodIndent(param string) {
fmt.Println("typing o here works as expected")
}
func badIndent(
param string, // this is the difference
) {
fmt.Println("typing o here triggers bad indent")
foo(bar,
baz,
call,
stop,
please)
2022-01-25 22:19:10 +01:00
}