mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-25 19:01:38 +01:00
Hacky implementation of variable autocomplete
This commit is contained in:
@@ -24,6 +24,6 @@ export function genericCompletion({ options, minMatch = 1 }: GenericCompletionCo
|
||||
if (!matchedMinimumLength && !context.explicit) return null;
|
||||
|
||||
const optionsWithoutExactMatches = options.filter((o) => o.label !== toMatch.text);
|
||||
return { from: toMatch.from, options: optionsWithoutExactMatches, info: 'hello' };
|
||||
return { from: toMatch.from, options: optionsWithoutExactMatches, info: 'hello', };
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user