Hari Krishna Dara <[EMAIL PROTECTED]> wrote:
> Nikolai Weibull wrote:
> > Hari Krishna Dara <[EMAIL PROTECTED]> wrote:
> > >
> > > Here is a patch that adds set() function on the lines of existing get()
> > > for setting list elements by index or dict keys by name.
> [SNIP]
> >
> > Wouldn't it be better to allow the :let syntax you describe above?  It
> > shouldn't be impossible to parse that kind of expression.
>
> - A set() function will be nice to have anyway (to balance out get())

I worry about adding such a set() function with that name.  Vim's been adding 
things like dictionaries/lists with Python-like syntax, and it's entirely 
possible that it may want to add something like Python's set() datatype in the 
future.  Keeping the "set" name reserved in Vim seems wise to me.





Reply via email to