mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
- Don't branch at `case` - Let `import_spec_list`/`var_declaration` behave like `const_declaration` Fixes #2166
19 lines
214 B
Go
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
|
|
)
|
|
}
|