qxxxb / vim-searchhi

Highlight the current search result differently
GNU General Public License v3.0
47 stars 6 forks source link

Silences search errors #7

Closed nkakouros closed 4 years ago

nkakouros commented 4 years ago

When there is a search error, the error message keeps popping when moving the cursor. For instance, do the following:

  1. Open a file in vim with searchhi enabled
  2. Search for asd\(.
  3. There is a E54 error.
  4. move the cursor using k

The user is interrupted a lot without value. This PR silences the repeated searches that searchhi performs. The error message will have already been shown to the user, so there is no real info being hidden by the user.

qxxxb commented 4 years ago

Thanks!