mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
indents(go): no indent at all composite_literal, indent at struct_type
This commit is contained in:
parent
ac5456567a
commit
d1ce3db8ea
2 changed files with 13 additions and 5 deletions
|
|
@ -7,8 +7,16 @@ func correct(word string) {
|
|||
select {
|
||||
|
||||
} // <---
|
||||
|
||||
arr := []struct {
|
||||
|
||||
} // <---
|
||||
}
|
||||
|
||||
func test() {
|
||||
cases := []struct {
|
||||
first, second string
|
||||
} {
|
||||
{"Hello", "World"},
|
||||
}
|
||||
|
||||
for range cases {
|
||||
println("random stuff")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue