mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.0199: spellbadword() does not check for caps error
Problem: spellbadword() does not check for caps error. (Dominique Pelle)
Solution: Adjust capcol when advancing.
66ab916935
This commit is contained in:
parent
25fff17d19
commit
18888c15fc
@ -16763,6 +16763,7 @@ static void f_spellbadword(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
str += len;
|
str += len;
|
||||||
|
capcol -= len;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user