fix(editor): suggest MongoDB collection methods
This commit is contained in:
1 parent
6a25bd1909
commit
a290948ad9
3 files changed
+58
-4
No files matched your search
@@ -3384,7 +3384,7 @@ async function provideMongoCompletions(currentState: import("@codemirror/state")
|
||||
return {
|
||||
from: completionContext.from,
|
||||
options: items.map((item) => completionOptionForItem(item)),
|
||||
validFor: getMongoCompletionResultValidFor(),
|
||||
validFor: getMongoCompletionResultValidFor(completionContext),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user