Debounce autocomplete

This commit is contained in:
Gregory Schier committed 2023-03-08 11:25:20 -08:00
1 parent 6eaad1352a
commit 571293a34d
12 files changed
+117 -33

No files matched your search

@@ -47,6 +47,7 @@ export function completions(context: CompletionContext) {
label: toStartOfVariable ? `${openTag}${v.name}${closeTag}` : v.name,
apply: `${openTag}${v.name}${closeTag}`,
type: 'variable',
matchLen,
}))
// Filter out exact matches
.filter((o) => o.label !== toMatch.text),