diff --git a/src/languageserver/handlers/settingsHandlers.ts b/src/languageserver/handlers/settingsHandlers.ts index 42611fbc..581b3f0d 100644 --- a/src/languageserver/handlers/settingsHandlers.ts +++ b/src/languageserver/handlers/settingsHandlers.ts @@ -40,7 +40,7 @@ export class SettingsHandler { const config = await this.connection.workspace.getConfiguration([ { section: 'yaml' }, { section: 'http' }, - { section: '[yaml]', scopeUri: 'null' }, + { section: '[yaml]' }, { section: 'editor' }, { section: 'files' }, ]); diff --git a/test/settingsHandlers.test.ts b/test/settingsHandlers.test.ts index 2a3e855f..1438aad3 100644 --- a/test/settingsHandlers.test.ts +++ b/test/settingsHandlers.test.ts @@ -369,7 +369,7 @@ describe('Settings Handlers Tests', () => { expect(workspaceStub.getConfiguration).calledOnceWith([ { section: 'yaml' }, { section: 'http' }, - { section: '[yaml]', scopeUri: 'null' }, + { section: '[yaml]' }, { section: 'editor' }, { section: 'files' }, ]); @@ -409,7 +409,7 @@ describe('Settings Handlers Tests', () => { expect(workspaceStub.getConfiguration).calledOnceWith([ { section: 'yaml' }, { section: 'http' }, - { section: '[yaml]', scopeUri: 'null' }, + { section: '[yaml]' }, { section: 'editor' }, { section: 'files' }, ]);