Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Adding '$' character for highlight-selected
Browse files Browse the repository at this point in the history
Per this thread at Atom: https://discuss.atom.io/t/double-click-highlights-whole-of-variable-in-php/18625

Double-cliccking a variable is not recognized by highlight-selcted by the original default setting for Non-word characters. Adding a '$' character to the beginning fixes this problem so highlight-selected pics it up.

If there is another way to solve this problem so double-clicked variables highlight, by all means, do that instead.
  • Loading branch information
JesseSteele authored Jan 24, 2021
1 parent 673d9e9 commit 5b6b7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/language-php.cson
Original file line number Diff line number Diff line change
Expand Up @@ -3344,4 +3344,4 @@
'decreaseIndentPattern': '^(.*\\*/)?\\s*(}|(\\)+([;,]|\\s*{))|(\\]\\)*([;,]|$))|else:|((end(if|for(each)?|while|switch));))'
'.text.html.php':
'editor':
'nonWordCharacters': '/\\()"\':,.;<>~!@#%^&*|+=[]{}`?-'
'nonWordCharacters': '$/\\()"\':,.;<>~!@#%^&*|+=[]{}`?-'

0 comments on commit 5b6b7df

Please sign in to comment.