mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Fixes #2645 : [php] Double-click "$a" in "$a->b()" highlights "$a-"
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user