forked from aniani/vim
patch 8.2.5116: "limit" option of matchfuzzy() not always respected
Problem: "limit" option of matchfuzzy() not always respected. Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
This commit is contained in:
committed by
Bram Moolenaar
parent
d592deb336
commit
47f1a55849
@@ -4844,7 +4844,8 @@ do_fuzzymatch(typval_T *argvars, typval_T *rettv, int retmatchpos)
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if ((di = dict_find(d, (char_u *)"limit", -1)) != NULL)
|
||||
|
||||
if ((di = dict_find(d, (char_u *)"limit", -1)) != NULL)
|
||||
{
|
||||
if (di->di_tv.v_type != VAR_NUMBER)
|
||||
{
|
||||
|
Reference in New Issue
Block a user