Skip to content

Commit 43b3e49

Browse files
authored
Merge pull request #49 from haringsrob/blade-support
Add blade support.
2 parents d0e7b34 + c5de208 commit 43b3e49

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"test": "node ./lib/test/runTests.js"
2424
},
2525
"activationEvents": [
26-
"onLanguage:php"
26+
"onLanguage:php",
27+
"onLanguage:blade"
2728
],
2829
"contributes": {
2930
"commands": [
@@ -158,4 +159,4 @@
158159
"sponsor": {
159160
"url": "https://github.com/sponsors/dantleech"
160161
}
161-
}
162+
}

src/extension.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ function createClient(config: any): LanguageClient {
8888
let clientOptions: LanguageClientOptions = {
8989
documentSelector: [
9090
{ language: LanguageID, scheme: 'file' },
91+
{ language: 'blade', scheme: 'file' },
9192
{ language: LanguageID, scheme: 'untitled' }
9293
],
9394
initializationOptions: config.config
@@ -200,4 +201,4 @@ function exec(channel: vscode.OutputChannel, command: string, args: string[], cw
200201
reject(err)
201202
});
202203
})
203-
}
204+
}

0 commit comments

Comments
 (0)