Add error handling to VimwikiSearch per issue #420

- Create function wrapper around lvimgrep for input checking, pattern
   quoting, and error handling.
 - Add Vader tests for VimwikiSearch.
 - Change syntax loading from try/catch to explicit file check (to
   prevent Vader test bug).
 - Update doc/vimwiki.txt for changes.
 - Change test script to run Vader tests separately
This commit is contained in:
Dave Gauer
2019-10-12 18:31:43 -04:00
parent ba84981b5a
commit ad95e3463f
9 changed files with 185 additions and 12 deletions

View File

@ -839,8 +839,8 @@ Vimwiki file.
To display previous match use |:lprevious| command.
Hint: this feature is simply a wrapper around |:lvimgrep|. For a
description of how the pattern can look like, see |:vimgrep|. For example,
to do a case insensitive search, use >
complete description of the search pattern format, see |:vimgrep|.
For example, to perform a case insensitive search, use >
:VWS /\cpattern/
*:VimwikiBacklinks*
@ -3464,6 +3464,7 @@ Contributors and their Github usernames in roughly chronological order:
- Shaedil (@Shaedil)
- Robin Lowe (@defau1t)
- Abhinav Gupta (@abhinav)
- Dave Gauer (@ratfactor)
==============================================================================
@ -3544,6 +3545,7 @@ Removed:~
point.
Fixed:~
* Issue #420: Add error handling to VimwikiSearch
* PR #744: Fix typo in vimwiki_list_manipulation
* Issue #715: s:clean_url is compatible with vim pre 7.4.1546 (sticky type
checking)