Skip to content

Commit 4bf7f67

Browse files
Ecmel ErcanEcmel Ercan
authored andcommitted
Add laravel-blade wordPattern
1 parent b43d2aa commit 4bf7f67

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-html-css",
33
"displayName": "HTML CSS Support",
44
"description": "CSS support in HTML documents",
5-
"version": "0.0.19",
5+
"version": "0.0.20",
66
"publisher": "ecmel",
77
"license": "MIT",
88
"homepage": "https://github.com/ecmel/vscode-html-css",

src/extension.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ export function activate(context: vsc.ExtensionContext) {
215215

216216
context.subscriptions.push(vsc.languages.registerCompletionItemProvider(
217217
['html', 'laravel-blade'], classServer));
218+
219+
context.subscriptions.push(vsc.languages.setLanguageConfiguration('laravel-blade', {
220+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\.\"\,\<\>\/\?\s]+)/g
221+
}));
218222
}
219223

220224
export function deactivate() {

0 commit comments

Comments
 (0)