CompletionSource use a Dynamic list, which update in
I had to use compartments reconfigure my language when list updated.
Input will activate autocomplete UI, and after 500ms activate
Linter will parse user-defined variable and put it in autocomplete list ,then reconfigure language
compartment to apply the new list. But reconfigure language will close the autoComplete UI.
Now I use inefficiency method that judge the parse result equals to last time result to avoid reconfigure.
Is there any better way?