mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-27 12:20:04 +08:00
20 lines
333 B
Go
Vendored
20 lines
333 B
Go
Vendored
// 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)
|
|
}
|