Skip to content

Commit f48a8ee

Browse files
authored
Add support for Svelte.js
Hi @vunguyentuan! Thanks for working on the extension! From the looks of it - this seems to be all that's needed to add Svelte support. If you don't mind, I'd appreciate something like this being merged in the next version. I've monkeypatched the extension at the moment for myself, but if an update is released without this patch I'll have to monkeypatch again...and again 🙂
1 parent d712b7e commit f48a8ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function activate(context: ExtensionContext) {
3939
const clientOptions: LanguageClientOptions = {
4040
// Register the server for plain text documents
4141
documentSelector: [
42+
'onLanguage:svelte',
4243
'onLanguage:vue',
4344
'onLanguage:vue-html',
4445
'onLanguage:vue-postcss',

0 commit comments

Comments
 (0)