scala.tmbundle icon indicating copy to clipboard operation
scala.tmbundle copied to clipboard

Stream operator highlighting bug

Open the21st opened this issue 9 years ago • 2 comments
trafficstars

Hi!

The #:: operator (method) is used for concatenating Streams, but it's not highlighted correctly:

lazy val oddNumbers: Stream[Int] = 1 #:: oddNumbers.map(_ + 2)

the21st avatar May 11 '16 22:05 the21st

@the21st - perhaps we should try out the Atom grammar for Linguist instead of this one? https://github.com/atom-community/language-scala

If you have a file that demonstrates this bug then you can see if the same issue exists with the Atom grammar by using Lightshow. This is the Atom grammar URL: https://github.com/atom-community/language-scala/blob/master/grammars/scala.cson

arfon avatar Jul 15 '16 14:07 arfon

Unfortunately the Atom grammar also currently highlights this incorrectly (in the same way as scala.tmbundle).

Matt-Kantor-CK avatar Nov 23 '17 03:11 Matt-Kantor-CK