derekwyatt/vim-scala — pull request #9 by Dinduks (2012-10-04 22:33:14+00:00)
Title: Fix syntax highlighting for types

Hi,

Before this commit:

val someFunction: List[(Option[T], Option[U])] = TODO
^ -- The type syntax highlighting
would have stopped here because of
the closing bracket.

I fixed this by updating the regular expression that takes care of syntax highlighting for types (scalaType).

I also added a "test case" in *indent/testfile.scala* and did my best to check if I introduced a break, which I failed at.

Thanks.

Samy