Vim 7 and 7.1-17 on WinXP SP2
This should affect all Vim platforms, not just Windows.
Could someone please confirm this is a bug.
If you run this command from a GUI enabled vim:
:echo inputdialog('hello:', 10, -1)
You get a dialog box displayed which says "hello", with a default value of
10. Pressing OK, returns 10, pressing cancel returns -1.
If you run the same command from a console Vim, you get:
E180: Invalid complete value: -1
:h E180
Completion behavior *:command-completion*
*E179* *E180* *E181*
By default, the arguments of user defined commands do not undergo
completion.
This of course is not a user defined command.
This also works fine under vim 6.3.
I am not sure if this has been reported before.
TIA,
Dave