diff options
author | Jaehwang Jerry Jung <tomtomjhj@gmail.com> | 2019-10-25 19:54:53 +0900 |
---|---|---|
committer | Jaehwang Jerry Jung <tomtomjhj@gmail.com> | 2019-10-27 03:35:19 +0900 |
commit | 034077ed1c1fa71aa15829ed2dfb27de4a5e5359 (patch) | |
tree | 9f819d83c0c5848e51972c098ce85fce68b39be4 /src/nvim/spell.c | |
parent | 19ba36d0e1bb4ef28f8aa92c7386345fbcf78cf2 (diff) | |
download | rneovim-034077ed1c1fa71aa15829ed2dfb27de4a5e5359.tar.gz rneovim-034077ed1c1fa71aa15829ed2dfb27de4a5e5359.tar.bz2 rneovim-034077ed1c1fa71aa15829ed2dfb27de4a5e5359.zip |
vim-patch:8.1.2173: searchit() has too many arguments
Problem: Searchit() has too many arguments.
Solution: Move optional arguments to a struct. Add the "wrapped" argument.
https://github.com/vim/vim/commit/92ea26b925a0835badb0af2d5887238a4198cabb
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 a3c1746383..687c86b4a8 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -3031,7 +3031,7 @@ void ex_spellrepall(exarg_T *eap) sub_nlines = 0; curwin->w_cursor.lnum = 0; while (!got_int) { - if (do_search(NULL, '/', frompat, 1L, SEARCH_KEEP, NULL, NULL) == 0 + if (do_search(NULL, '/', frompat, 1L, SEARCH_KEEP, NULL) == 0 || u_save_cursor() == FAIL) { break; } |