diff options
author | Johan Klokkhammer Helsing <johanhelsing@gmail.com> | 2015-10-16 21:28:12 +0200 |
---|---|---|
committer | Johan Klokkhammer Helsing <johanhelsing@gmail.com> | 2015-10-18 01:58:18 +0200 |
commit | 3bb266266935e9bf95f4a776b33800b9303d4607 (patch) | |
tree | 305b7e72e04b30be2ed052df262ab6b771e7469d /src/nvim/spell.c | |
parent | e9de70e4ea53cd7ab70eba0757309004c61c3c62 (diff) | |
download | rneovim-3bb266266935e9bf95f4a776b33800b9303d4607.tar.gz rneovim-3bb266266935e9bf95f4a776b33800b9303d4607.tar.bz2 rneovim-3bb266266935e9bf95f4a776b33800b9303d4607.zip |
vim-patch:7.4.793
Problem: Can't specify when not to ring the bell.
Solution: Add the 'belloff' option. (Christian Brabandt)
https://github.com/vim/vim/commit/165bc69d1b7f70ca9d5b657f35d0584ecb7b5183
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 88f64bdf73..7d9257141a 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -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; |