derekwyatt / vim-scala

My work on integration of Scala into Vim - not a ton here, but useful for me.
http://derekwyatt.org
Apache License 2.0
1.09k stars 144 forks source link

Syntax Highlighting in Pattern Matching #134

Closed benknoble closed 7 years ago

benknoble commented 7 years ago
screen shot 2016-11-04 at 5 14 56 pm

Just look at it. You'll notice that some of the cases have pink highlights, but in particular on the line

a :: tail => //...

the tail is the color of my terminals text (green); i.e., it isn't highlighted. Can we fix this?

derekwyatt commented 7 years ago

I claim that the bug here is more that a is not green. Let's take an example:

case Seq(a, b, 1, 4, List(x, y)) =>

Should that all be pink? I think not because it's diminishing the value of the highlighting, in general. Certainly, 1 and 4 should be highlighted as numbers.

But, at any rate, the issue should be filed in the Vim project instead, since the core part of this plugin has been moved there.