On 11/14/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> In addition to @/, this adds global variable that indicates
> default search direction (1-forward, 0-backward).
> Doc patch is inluded.

Good idea to make this available.

I think the variable should be writable, so that when you set @/ you can
also set the search direction.

For the name: How about "v:searchforward"?

I renamed variable to v:searchforward and made it writable.
However, the varible writing does not work well although I
propagate the to spats[0].off.dir, seemingly correctly.
Anybody knows why writing to the var does not work ?

Yakov

Attachment: vim-patch-searchdirection
Description: Binary data

Reply via email to