Let ... in ... block autocomplete also sorted by best 'match', type-wise

This commit is contained in:
Joeri Exelmans 2025-05-16 08:51:58 +02:00
parent 2d81e42447
commit 8abbac4bc9
7 changed files with 66 additions and 43 deletions

View file

@ -166,7 +166,8 @@ export function Editor({state, setState, onCancel, suggestionPriority}: EditorPr
return <LetInBlock
state={state}
setState={setState as (callback:(p:LetInBlockState)=>EditorState)=>void}
/>;
suggestionPriority={suggestionPriority}
/>;
case "lambda":
return <></>;
}