From e3b78fd6177bf27920b8ea5441df28a766816236 Mon Sep 17 00:00:00 2001 From: Yevhen Vydolob Date: Wed, 7 Oct 2020 17:44:00 +0300 Subject: [PATCH] Add '[yaml]' to settings syncronization Signed-off-by: Yevhen Vydolob --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index bd007ae0..380ebf2e 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -52,7 +52,7 @@ export function activate(context: ExtensionContext): SchemaExtensionAPI { documentSelector: [{ language: 'yaml' }], synchronize: { // Synchronize these setting sections with the server - configurationSection: ['yaml', 'http.proxy', 'http.proxyStrictSSL', 'editor.tabSize'], + configurationSection: ['yaml', 'http.proxy', 'http.proxyStrictSSL', 'editor.tabSize', '[yaml]'], // Notify the server about file changes to YAML and JSON files contained in the workspace fileEvents: [workspace.createFileSystemWatcher('**/*.?(e)y?(a)ml'), workspace.createFileSystemWatcher('**/*.json')], },