Skip to content

Commit a614c7b

Browse files
committed
Fixup
1 parent c3a9b95 commit a614c7b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/server.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ interface Settings {
184184
hover: boolean;
185185
completion: boolean;
186186
customTags: Array<String>;
187-
schemaStore: boolean;
187+
schemaStore: {
188+
enable: boolean
189+
}
188190
};
189191
http: {
190192
proxy: string;
@@ -226,7 +228,9 @@ connection.onDidChangeConfiguration((change) => {
226228
yamlShouldHover = settings.yaml.hover;
227229
yamlShouldCompletion = settings.yaml.completion;
228230
customTags = settings.yaml.customTags ? settings.yaml.customTags : [];
229-
schemaStoreEnabled = settings.yaml.schemaStore;
231+
if (settings.yaml.schemaStore) {
232+
schemaStoreEnabled = settings.yaml.schemaStore.enable;
233+
}
230234
if (settings.yaml.format) {
231235
yamlFormatterSettings = {
232236
singleQuote: settings.yaml.format.singleQuote || false,

0 commit comments

Comments
 (0)