Micha wrote:

> I just ran into the following small bug.
> Suppose you are editing a buffer for which the tag 'tag_foo' is defined.
> Now, enter the following command ':tag/foo' followed by <tab> to trigger 
> autocompletion of the command based on the existing tags.
> This will replace '/foo' by 'tag_foo', resulting in the command line
> ':tagtag_foo' which is invalid since it lacks a space, instead of the valid 
> ':tag tag_foo'.
> According to the 'tag-regexp' documentation, the form of the command should 
> be ':tag /foo' in the first place, but ':tag/foo' works and is more similar 
> to other vim constructs such as ':g/' and ':s/...' so should probably be 
> supported too.

Yes, the "/" separates the command from the argument, but when
completion changes it to a word the separator is gone and a space should
be inserted.

-- 
MESKIMEN'S LAW
    There's never time to do it right, but always time to do it over.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui