dominikh / go-mode.el

Emacs mode for the Go programming language
BSD 3-Clause "New" or "Revised" License
1.38k stars 211 forks source link

Fix fontification of multiline type switch clauses. #355

Closed muirdm closed 4 years ago

muirdm commented 4 years ago

Now we properly fontify "foo" and "bar" in:

switch v.(type) {
case foo,
  bar:
}

I also tried to be careful so comments don't mess things up.