"Non Word Characters" behavior in PHP


For some reason Atom seams to be ignoring “Non Word Characters” from settings when editing .php file.

Default value includes sigil / dollar sign, however when I double click on $variable I expect only variable to be highlighted.

Video example:

Is there any way to fix this problem?


Non-word characters can be set per language. PHP’s have been changed to exclude $: