Christian Brabandt wrote:
> On Fr, 20 Jan 2017, desjardinsm wrote:
>
> > When "set wildoptions=tagfile" it actually changes the way the ":h
> > tag-regexp" for completion works. With the default wildoptions of course a
> > ":tag /<c-d>" will work as the help describes. But with wildoptions set,
> > ":tag /<c-d>" only lists tags starting with "/".
> >
> > This occurs with "vim -Nu NONE" as well, after setting 'wop'.
> >
> > This also only affects its completion. The actual command uses the "/" as
> > expected.
>
> This happens, because setting wildoptions=tagfile changes the completion
> context and addstar() does not test for the EXPAND_TAGS_LISTFILES
> expansion correctly, therefore adding a '^' to the pattern which will
> then break the expectation of the expand_tags() function.
>
>
> Attached patch fixes it and adds a test.
Thanks!
--
ARTHUR: I did say sorry about the `old woman,' but from the behind you
looked--
DENNIS: What I object to is you automatically treat me like an inferior!
ARTHUR: Well, I AM king...
The Quest for the Holy Grail (Monty Python)
/// 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.