Skip to content

Commit 7bc47e7

Browse files
committed
Call 'addSchemaValueCompletions' method to collect completion items from scheme
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
1 parent 07ca6ca commit 7bc47e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/languageservice/services/yamlCompletion.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ export class YAMLCompletion extends JSONCompletion {
332332
insertText: `- ${this.getInsertTextForObject(s.schema.items, separatorAfter).insertText.trimLeft()}`,
333333
insertTextFormat: InsertTextFormat.Snippet,
334334
});
335+
this.addSchemaValueCompletions(s.schema.items, separatorAfter, collector, types);
335336
}
336337
else {
337338
this.addSchemaValueCompletions(s.schema.items, separatorAfter, collector, types);

0 commit comments

Comments
 (0)