You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to replicate gofmt behavior. In particular (assuming there are no
non-comment lines between comment in question and proceeding "case"):
- comments above first "case" always align with case
- comments between a case-aligned comment and the proceeding "case"
always align with the "case"
- all other cases are ambiguous, so if comment is aligned with "case"
or with the case block, maintain the indent, otherwise default
indent to the case block
Closes: #287 [via git-merge-pr]
0 commit comments