mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:18:30 +02:00
Remove completion debug blur thing
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user