nvim-treesitter/tests/indent/go/multiple-vars.go
Stephan Seitz 27424a2040 indents(go): improve @branch rules
- Don't branch at `case`
- Let `import_spec_list`/`var_declaration` behave like
  `const_declaration`

Fixes #2166
2022-08-05 12:32:20 -07:00

19 lines
214 B
Go

package main
var (
thing = 1
thingTwo = 2
) // <-- This paren should be at 0 instead of indented
var (
thing = 1
thingTwo = 2
)
func main() {
// It should be
var (
thing = 1
thingTwo = 2
)
}