Re: vim9script: =Function() in a mapping fails to work

2022-02-27 Fir de Conversatie Bram Moolenaar
Christian J. Robinson wrote: > > > Source the attached script to see the error. If I prefix Function() with > > > it does work. Is this correct behavior? > > > > I cannot see an attachment. > > Oops, here it is. Which is: vim9script def Foo(): string return "b

Re: vim9script: =Function() in a mapping fails to work

2022-02-27 Fir de Conversatie Christian J. Robinson
Oops, here it is. On Sun, Feb 27, 2022 at 4:43 AM Bram Moolenaar wrote: > > Christian J. Robinson wrote: > > > Source the attached script to see the error. If I prefix Function() with > > it does work. Is this correct behavior? > > I cannot see an attachment. > > -- > hundred-and-one symptoms

Re: vim9script: =Function() in a mapping fails to work

2022-02-27 Fir de Conversatie Bram Moolenaar
Christian J. Robinson wrote: > Source the attached script to see the error. If I prefix Function() with > it does work. Is this correct behavior? I cannot see an attachment. -- hundred-and-one symptoms of being an internet addict: 113. You are asked about a bus schedule, you wonder if it is

vim9script: =Function() in a mapping fails to work

2022-02-26 Fir de Conversatie Christian J. Robinson
Source the attached script to see the error. If I prefix Function() with it does work. Is this correct behavior? -- Christian J. Robinson -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, v