mads-hartmann / scala.tmbundle

TextMate bundle for the Scala programming language
MIT License
170 stars 28 forks source link

Stream operator highlighting bug #60

Open the21st opened 8 years ago

the21st commented 8 years ago

Hi!

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

lazy val oddNumbers: Stream[Int] = 1 #:: oddNumbers.map(_ + 2)
arfon commented 8 years ago

@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

Matt-Kantor-CK commented 6 years ago

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