vim-scala
vim-scala copied to clipboard
syntax: Fix word boundary of highlighting
Since vim-scala higlights when word without checking word boundary, it highlights a word like elsewhen partially.
This is a real code which I'm writing with Chisel3.
This PR fixes to check the word boundary. Now it does not highlight entire elsewhen method name correctly:
I also found other words had the same issue so I fixed them as well.