Open rhysd opened 3 years ago
Since vim-scala higlights when word without checking word boundary, it highlights a word like elsewhen partially.
when
elsewhen
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.
Since vim-scala higlights
when
word without checking word boundary, it highlights a word likeelsewhen
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.