Fix ^A word search for keywords starting with a non-word character.
commit9ba2bd88564a5bcfbc612fa954e16f15b5c81be6
authorWolfgang Jenkner <wjenkner@inode.at>
Thu, 22 May 2008 14:33:56 +0000 (22 16:33 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 1 Jun 2008 19:09:47 +0000 (1 21:09 +0200)
tree96c9f7778c719b454572e5db0528719bb6bb0bfa
parent193d6e7fb11a7da6ad611a6bba3f020e87b7b3a8
Fix ^A word search for keywords starting with a non-word character.

E.g., putting the cursor over ^ and typing ^A would give a 'Pattern
not found' message (with wrapscan set).

Adjust v_searchw to the current version of v_curword (the bug was already
present before the recent changes, though).

There's also a new auxiliary function is_especial, for clarity.
vi/v_search.c