File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments