vim-scala icon indicating copy to clipboard operation
vim-scala copied to clipboard

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

Open aa8y opened this issue 9 years ago • 2 comments

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

parensgoingwrong

aa8y avatar Mar 13 '16 22:03 aa8y

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.

fldef avatar Jun 29 '18 22:06 fldef

Care to put in a PR?

derekwyatt avatar Jul 02 '18 17:07 derekwyatt