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

This commit is contained in:
Martin Aeschlimann
2016-02-03 17:29:28 +01:00
parent 09c07b7830
commit 2affc685ad
2 changed files with 2 additions and 2 deletions

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
});
}