atom / language-go

Go language package for Atom
Other
106 stars 58 forks source link

Cannot fold up the "case" statement #163

Closed toasa closed 6 years ago

toasa commented 6 years ago

Description

I cannot fold up (= short) the "case" statement in the "switch" statement. My atom version is 1.32.1 and "language-go", that is core package, is 0.46.4. I remember that didn't happen previous "atom" and "language-go" version.

Steps to Reproduce

  1. Write a any "switch" statement in Golang, that has a "case statement".
  2. To fold up the "case" statement, I want to press the "v" mark, that is in between line number and code. But don't appear the "v" mark, so I cannot fold up the "case" statement. e.g. 43 switch i { 44 v case i_1: ... 48 v case i_2: ...

Expected behavior: Appear the "v" mark and be able to fold up the "case" statement

Actual behavior: Don't appear the "v" mark and cannot fold up the "case" statement

Reproduces how often: Everytime after update atom and language-go(core package)

Versions

atom: 1.32.1 language-go(core package) : 0.46.4