1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 00:40:07 +08:00
SpaceVim/bundle/nvim-treesitter/tests/indent/go/issue-2369.go

20 lines
333 B
Go
Raw Normal View History

// 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)
}