Skip to content

Commit 8386c78

Browse files
authored
Merge pull request #7 from qvalentin/feat/support-values-files
feat: support values.yaml files
2 parents a41280f + 8cbe880 commit 8386c78

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"Other"
1717
],
1818
"activationEvents": [
19-
"onLanguage:helm"
19+
"onLanguage:helm",
20+
"onLanguage:yaml"
2021
],
2122
"main": "./dist/extension.js",
2223
"contributes": {

src/extension.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@ export async function activate(context: vscode.ExtensionContext) {
4242
};
4343

4444
const clientOptions: LanguageClientOptions = {
45-
documentSelector: [{ scheme: "file", language: "helm" }],
45+
documentSelector: [
46+
{ language: "helm" },
47+
{
48+
language: "yaml",
49+
pattern: "**/values*.yaml",
50+
},
51+
],
4652
synchronize: {},
4753
};
4854

src/util/executable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as crypto from "crypto";
77
import * as os from "os";
88
import { IncomingMessage } from "http";
99

10-
const HELM_LS_VERSION = "v0.2.1";
10+
const HELM_LS_VERSION = "v0.3.0";
1111
const HELM_LS_REPO = "mrjosh/helm-ls";
1212

1313
interface PlatformInfo {

0 commit comments

Comments
 (0)