I wanted ST3 to include the “$” when selecting PHP/SASS vars, so I added a user setting for PHP and SCSS scopes to do following:
"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=]{}`~?"
By removing “$” from the “word_separators” for these scopes, Sublime now selects the “$” when double clicking a variable. However, now Sublime is not matching/outlining those variables using the default “match_selection” functionality. “match_selection” still matches/outlines any other word selection, but not variables. It seems when changing ST3’s “word_separator” setting, “match_selection” functionality breaks on the affected words.
Any thoughts on this? Is there a setting I am missing, or is this ST3 bug?