Remove completion debug blur thing

This commit is contained in:
Gregory Schier
2024-03-10 16:46:18 -07:00
parent 2f91d541c5
commit 9e065c34ee

View File

@@ -122,11 +122,8 @@ export const baseExtensions = [
history(), history(),
dropCursor(), dropCursor(),
drawSelection(), drawSelection(),
// TODO: Figure out how to debounce showing of autocomplete in a good way
// debouncedAutocompletionDisplay({ millis: 1000 }),
// autocompletion({ closeOnBlur: true, interactionDelay: 200, activateOnTyping: false }),
autocompletion({ autocompletion({
closeOnBlur: false, // For debugging in devtools without closing it closeOnBlur: true, // Set to `false` for debugging in devtools without closing it
compareCompletions: (a, b) => { compareCompletions: (a, b) => {
// Don't sort completions at all, only on boost // Don't sort completions at all, only on boost
return (a.boost ?? 0) - (b.boost ?? 0); return (a.boost ?? 0) - (b.boost ?? 0);