On 2022-01-04, Marvin Renich wrote:
> * Bram Moolenaar [220104 12:26]:
>> While using:
>>
>> import "thatscript.vim"
>>
>> Or:
>>
>> import "thatscript.vim" as that
>>
>> Is nice and short, no need for "from". The help for ":import" becomes
>> much shorter. The implementation will
* 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
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
> > > >
> > >
* 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
Den mån 3 jan. 2022 18:34Bram Moolenaar skrev:
>
> > 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"
>
> 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
On Mon, Jan 3, 2022, 11:23 Lifepillar wrote:
> 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
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 namespace prefix:
>
>
> --
> $ echo pizza > /dev/oven
>
Totally OT, but Bram's signature file is amazing. Yet another reason to
thank him. I shall use that as an example when explaining output
mechanisms from now on.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below
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
* 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
11 matches
Mail list logo