forked from aniani/vim
patch 7.4.793
Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
This commit is contained in:
@@ -2469,7 +2469,7 @@ showmatch(c)
|
||||
}
|
||||
|
||||
if ((lpos = findmatch(NULL, NUL)) == NULL) /* no match, so beep */
|
||||
vim_beep();
|
||||
vim_beep(BO_MATCH);
|
||||
else if (lpos->lnum >= curwin->w_topline && lpos->lnum < curwin->w_botline)
|
||||
{
|
||||
if (!curwin->w_p_wrap)
|
||||
|
Reference in New Issue
Block a user