diff --git a/src/search.c b/src/search.c index 2698358c09..abd74416d6 100644 --- a/src/search.c +++ b/src/search.c @@ -5392,7 +5392,6 @@ search_for_fuzzy_match( } *len = next_word_end - *ptr; - current_pos.col = *len; } } *pos = current_pos; diff --git a/src/testdir/test_ins_complete.vim b/src/testdir/test_ins_complete.vim index 88d1c16616..7b180a64e4 100644 --- a/src/testdir/test_ins_complete.vim +++ b/src/testdir/test_ins_complete.vim @@ -2963,6 +2963,10 @@ func Test_complete_fuzzy_collect() call feedkeys("Sh\\\\\\0", 'tx!') call assert_equal('think', getline(line('.') - 1)) + call setline(1, ['foo bar fuzzy', 'completefuzzycollect']) + call feedkeys("Gofuzzy\\\\\\0", 'tx!') + call assert_equal('completefuzzycollect', getline('.')) + bw! bw! set dict& diff --git a/src/version.c b/src/version.c index 8739da0d32..18bf939a06 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1228, /**/ 1227, /**/