diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-10-26 12:50:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-26 12:50:51 -0700 |
commit | ad532d3c660791337a9ea5100ab1e330480e382a (patch) | |
tree | 6142d4a147f26451a8679d441930f7691cecfdc3 /src/nvim/spell.c | |
parent | 4b5e2f7a0b275230456f92892a89c781616284a8 (diff) | |
parent | 6dcc1d100572b462f75f64f7e98a0b5d80144cba (diff) | |
download | rneovim-ad532d3c660791337a9ea5100ab1e330480e382a.tar.gz rneovim-ad532d3c660791337a9ea5100ab1e330480e382a.tar.bz2 rneovim-ad532d3c660791337a9ea5100ab1e330480e382a.zip |
Merge #11294 from tomtomjhj/vim-8.1.2173
vim-patch:8.1.{2173,2207,2218}
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; } |