Re: vim patch: fixing resetting dictionary function

2006-06-15 Thread Richard Emberson
, it is then referenced by its number, but the function definition code expects a function name. Richard Bram Moolenaar wrote: Richard Emberson wrote: In the following I am creating a dictionary, associating a function with the dictionary and then reassociating a new function with the name

vim patch: fixing resetting dictionary function

2006-05-18 Thread Richard Emberson
In the following I am creating a dictionary, associating a function with the dictionary and then reassociating a new function with the name of the original function. Try this without the fix and you get: ADD n=9 Error detected while processing /home/emberson/vim/foo.vim: line 14: E475: Invalid