Mercurial > vim
diff src/normal.c @ 323:03b3684919e3 v7.0084
updated for version 7.0084
author | vimboss |
---|---|
date | Mon, 13 Jun 2005 22:28:56 +0000 |
parents | 96789bc4346a |
children | 7033303ea0c0 |
line wrap: on
line diff
--- a/src/normal.c +++ b/src/normal.c @@ -4685,6 +4685,11 @@ dozet: spell_add_word(ptr, len, nchar == 'w'); } break; + + case '?': /* "z?": suggestions for a badly spelled word */ + if (!checkclearopq(cap->oap)) + spell_suggest(); + break; #endif default: clearopbeep(cap->oap); @@ -6106,7 +6111,7 @@ nv_brackets(cap) setpcmark(); for (n = 0; n < cap->count1; ++n) if (spell_move_to(cap->cmdchar == ']' ? FORWARD : BACKWARD, - cap->nchar == 's' ? TRUE : FALSE) == FAIL) + cap->nchar == 's' ? TRUE : FALSE, FALSE) == FAIL) { clearopbeep(cap->oap); break;