https://github.com/vim/vim/pull/15929
(5 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@yegappan pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
thanks!
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
It seems like v:fname is always prefixed with a ^. For example, if I type :find foo and press TAB, v:fname will be set to ^foo.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
There is also another problem:
a*b, v:fname is set to ^a.*ba.*b, v:fname is set to ^a\..*b—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@zeertzjq commented on this pull request.
In src/ex_docmd.c:
> + // File name expansion uses wildchars. But the 'findexpr' expression + // expects a regular expression argument. So convert wildchars in the + // argument to regular expression patterns. + regpat = file_pat_to_reg_pat(pat, NULL, NULL, FALSE); + if (regpat == NULL) + return FAIL;
This isn't correct. The docs for 'findexpr' doesn't require it to expect a regular expression argument.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Yet another problem: #15934 (comment)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
It seems like
v:fnameis always prefixed with a^. For example, if I type:find fooand press TAB,v:fnamewill be set to^foo.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
There is also another problem:
- When cmdline is
a*b,v:fnameis set to^a.*b- When cmdline is
a.*b,v:fnameis set to^a\..*b
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()