mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(go): Indent on type switch case properly
This commit is contained in:
parent
190561df89
commit
28f84d69e3
2 changed files with 7 additions and 0 deletions
|
|
@ -11,4 +11,10 @@ func test(ch byte) {
|
|||
case 'l':
|
||||
return
|
||||
}
|
||||
|
||||
var i interface{}
|
||||
switch i.(type) {
|
||||
case int:
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue