Browse Source

Update model.ts

Michał Krassowski 4 years ago
parent
commit
e1fe62ab5f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/completer/src/model.ts

+ 2 - 0
packages/completer/src/model.ts

@@ -415,6 +415,8 @@ export class CompleterModel implements Completer.IModel {
         );
         results.push({
           ...item,
+          // Allow for lazily retrieved documentation (with a getter)
+          documentation: item.documentation,
           label: marked.join(''),
           // If no insertText is present, preserve original label value
           // by setting it as the insertText.