One gripe, though: If I select a variable named foo, then it will also highlight the first half of variables named foobar. Is there any way to limit highlighting to full, complete names and not parts?
Also, looking at the code:
What a slick solution! I wouldn't have thought of that! (Mind you, I'm no good with regexes, but still!)
Download the zip from https://github.com/SublimeText/WordHighlight/zipball/master and unzip it into your packages directory.
This does happen now, since 2181 via the match_selection option.