From de7a4ec722bd09f454f248e6d3546a0cf3cf5f16 Mon Sep 17 00:00:00 2001 From: Allan Jardine <84905443+AllanJard@users.noreply.github.com> Date: Wed, 17 May 2023 16:04:14 +0100 Subject: [PATCH 1/2] Activate html1 language on language load --- lsp-embedded-request-forwarding/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lsp-embedded-request-forwarding/package.json b/lsp-embedded-request-forwarding/package.json index 2fed0ffb3..00ebe27fb 100644 --- a/lsp-embedded-request-forwarding/package.json +++ b/lsp-embedded-request-forwarding/package.json @@ -14,7 +14,9 @@ "engines": { "vscode": "^1.74.0" }, - "activationEvents": [], + "activationEvents": [ + "onLanguage:html1" + ], "main": "./client/out/extension", "contributes": { "languages": [ From 06179cd6d9db7e13eccca434e1da0b38787eb97b Mon Sep 17 00:00:00 2001 From: Allan Jardine <84905443+AllanJard@users.noreply.github.com> Date: Wed, 17 May 2023 16:05:00 +0100 Subject: [PATCH 2/2] Activate html1 language on language load --- lsp-embedded-language-service/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lsp-embedded-language-service/package.json b/lsp-embedded-language-service/package.json index 7105e8f47..3c1168b25 100644 --- a/lsp-embedded-language-service/package.json +++ b/lsp-embedded-language-service/package.json @@ -14,7 +14,9 @@ "engines": { "vscode": "^1.74.0" }, - "activationEvents": [], + "activationEvents": [ + "onLanguage:html1" + ], "main": "./client/out/extension", "contributes": { "languages": [ @@ -48,4 +50,4 @@ "eslint": "^7.21.0", "typescript": "^5.0.2" } -} \ No newline at end of file +}