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

Parenthesis highlight goes haywire if one or more Char parenthesis is present. #124

Open aa8y opened 8 years ago

aa8y commented 8 years ago

Looks like the Char parenthesis (and square and curly braces) are not ignored while the String ones are.

parensgoingwrong

fldef commented 6 years ago

It looks like vim is using style names to handle some matching logic. Changing syntax/scala.vim to use scalaCharacter (rather than scalaChar) fixes the problem for me. I'm guessing styles scala<whatever>String and scala<whatever>Comment work because they end with magic words.

derekwyatt commented 6 years ago

Care to put in a PR?