Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

error when nowrapscan is set #1

Closed
ironcamel opened this Issue · 2 comments

2 participants

Naveed Massjouni Shlomi Fish
Naveed Massjouni

When I have nowrapscan, I get this error:

Error detected while processing function Star_add..Add_keyword_search_generic
Shlomi Fish
Owner

@ironcamel : thanks for the report. I believe this is fixed in the latest version. What I resorted to doing was temporarily do "set wrapscan" unconditionally, and then restore it to whatever its previous value was. I couldn't find a way to trap the error (which is treated differently than an exception in Vim) using vimscript programatically, and searching the web for that indicated that it was not possible.

In the future, we may wish to emulate the functionality of "*" and "#" using the more programmatic API, but this may mean getting many things wrong.

Please test (I'm closing this issue, so feel free to reopen if it doesn't work for you).

Shlomi Fish shlomif closed this
Naveed Massjouni

Just tested and it is fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.