Peter Hodge wrote:

> According to the help file, the function 'cursor()' should accept 2 or 3
> arguments, or a list with 2 or 3 items.  However, when I execute this command:
> 
>   :call cursor([5, 5])
> 
> It does *not* move the cursor, even though the equivalent:
> 
>   :call cursor(5, 5)
> 
> ... will work.  I must provide a 3rd item in the list for it to work:
> 
>   :call cursor([5, 5, 0])
> 
> Is this a feature or a bug?

Let's call this a bug.  I'll make a patch to make it work as the docs
say.

-- 
Your company is doomed if your primary product is overhead transparencies.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to