"Non Word Characters" behavior in PHP


#1

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?
Thanks


#2

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

See: