Re: Vim9 import [was Vim9 script feature-complete]

2022-01-04 Fir de Conversatie Marvin Renich
* Bram Moolenaar [220104 12:26]: > Marvin Renich wrote: > > * Bram Moolenaar [220103 12:33]: [snip] > > I agree that using the (cleansed) file name is suboptimal, but it was > > the simplest choice. There are a couple other possibilities. One is to > > require the "as" clause. [snip] > > Every

Re: Vim9 import [was Vim9 script feature-complete]

2022-01-04 Fir de Conversatie Bram Moolenaar
Marvin Renich wrote: > * Bram Moolenaar [220103 12:33]: > > > On 2022-01-03, Marvin Renich wrote: > > > > Don't bother with the > > > > > > > import MyClass from "myclass.vim" > > > > import {someValue, MyClass} from "thatscript.vim" > > > > > > > > syntax, and only provide > > > > > > >

Re: Vim9 import [was Vim9 script feature-complete]

2022-01-04 Fir de Conversatie Marvin Renich
* Bram Moolenaar [220103 12:33]: > > On 2022-01-03, Marvin Renich wrote: > > > Don't bother with the > > > > > import MyClass from "myclass.vim" > > > import {someValue, MyClass} from "thatscript.vim" > > > > > > syntax, and only provide > > > > > > import "myclass.vim" > > > import "myc

Re: Vim9 import [was Vim9 script feature-complete]

2022-01-03 Fir de Conversatie Bram Moolenaar
> On 2022-01-03, Marvin Renich wrote: > > Don't bother with the > > > import MyClass from "myclass.vim" > > import {someValue, MyClass} from "thatscript.vim" > > > > syntax, and only provide > > > > import "myclass.vim" > > import "myclass.vim" as Other > > > > and require use of the na

Re: Vim9 import [was Vim9 script feature-complete]

2022-01-03 Fir de Conversatie Bram Moolenaar
Marvin Renich wrote: > * Bram Moolenaar [220103 07:07]: > > > > > On 2021-12-30, Bram Moolenaar wrote: > > > > If you have remarks on something in Vim9 script that you think should be > > > > different, speak up now! Soon we'll only make backwards compatible > > > > changes to avoid breaking

Re: Vim9 import [was Vim9 script feature-complete]

2022-01-03 Fir de Conversatie Marvin Renich
* Bram Moolenaar [220103 07:07]: > > > On 2021-12-30, Bram Moolenaar wrote: > > > If you have remarks on something in Vim9 script that you think should be > > > different, speak up now! Soon we'll only make backwards compatible > > > changes to avoid breaking existing plugins. > > > > There wa