mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:7.4.793
Problem: Can't specify when not to ring the bell.
Solution: Add the 'belloff' option. (Christian Brabandt)
165bc69d1b
This commit is contained in:
@@ -8406,7 +8406,7 @@ void spell_suggest(int count)
|
||||
// Use the Visually selected text as the bad word. But reject
|
||||
// a multi-line selection.
|
||||
if (curwin->w_cursor.lnum != VIsual.lnum) {
|
||||
vim_beep();
|
||||
vim_beep(BO_SPELL);
|
||||
return;
|
||||
}
|
||||
badlen = (int)curwin->w_cursor.col - (int)VIsual.col;
|
||||
|
Reference in New Issue
Block a user