The scala highlighter in pygments is quite useless.
I attach a patch that fixes most of the obvious problems and even does some feeble attempts at semicolon inference (i.e. nicely formatted code should be highlighted acceptably, but it should be easy to write code that breaks the highlighting). It produces acceptable highlighting on the scalaz code I tested it on.
Florian Hars <florian (at) hars.de>
Reported by guest