0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0069

This commit is contained in:
Bram Moolenaar
2005-04-20 19:37:22 +00:00
parent 2c5bc17eb7
commit 2cf8b301df
2 changed files with 345 additions and 108 deletions

View File

@@ -6071,9 +6071,14 @@ nv_brackets(cap)
*/
else if (cap->nchar == 's' || cap->nchar == 'S')
{
if (spell_move_to(cap->cmdchar == ']' ? FORWARD : BACKWARD,
setpcmark();
for (n = 0; n < cap->count1; ++n)
if (spell_move_to(cap->cmdchar == ']' ? FORWARD : BACKWARD,
cap->nchar == 's' ? TRUE : FALSE) == FAIL)
clearopbeep(cap->oap);
{
clearopbeep(cap->oap);
break;
}
}
#endif