Fixes #2645 : [php] Double-click "$a" in "$a->b()" highlights "$a-"

This commit is contained in:
Martin Aeschlimann committed 2016-02-03 18:39:13 +01:00
1 parent 09c07b7830
commit 2affc685ad
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -23,6 +23,6 @@ export function activate(context: ExtensionContext): any {
// need to set in the plugin host as well as the completion provider uses it.
languages.setLanguageConfiguration('php', {
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g
wordPattern: /(-?\d*\.\d\w*)|([^\-\`\~\!\@\#\%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g
});
}