Re: Translating complete functions to Vim9

2021-06-20 Thread Bram Moolenaar
> Is there a way to turn a completion function (:h complete-functions) > into Vim9 script? > > The issue is that such functions are called twice, and they are expected > to return values of different types in each call. You can use the return type "any". I know in typescript it is possible to

Translating complete functions to Vim9

2021-06-19 Thread Lifepillar
Is there a way to turn a completion function (:h complete-functions) into Vim9 script? The issue is that such functions are called twice, and they are expected to return values of different types in each call. Thanks, Life. -- -- You received this message from the "vim_use" maillist. Do not