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')], },