From ccaeb0b5b0b0ea1450807ab1a62796de629bcdee Mon Sep 17 00:00:00 2001 From: jpinkney Date: Tue, 13 Jun 2017 15:38:12 -0400 Subject: [PATCH] Changed the default setting path and update the configuration setting in the client --- client/package.json | 2 +- client/src/extension.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/package.json b/client/package.json index 48527ebe..61eac95c 100755 --- a/client/package.json +++ b/client/package.json @@ -32,7 +32,7 @@ "type": [ "string" ], - "default": "**/.clientrc", + "default": "", "description": "Specifies the glob that will be used when validating yaml files as k8s" } } diff --git a/client/src/extension.ts b/client/src/extension.ts index 000c9d2f..1a11892c 100755 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -25,9 +25,9 @@ export function activate(context: ExtensionContext) { documentSelector: ['yaml'], synchronize: { // Synchronize the setting section 'languageServerExample' to the server - configurationSection: 'yaml', + configurationSection: 'k8s', // Notify the server about file changes to '.clientrc files contain in the workspace - fileEvents: workspace.createFileSystemWatcher('**/.clientrc') + fileEvents: workspace.createFileSystemWatcher("**/*.yaml") } }