forked from aniani/vim
patch 8.2.4939: matchfuzzypos() with "matchseq" does not have all positions
Problem: matchfuzzypos() with "matchseq" does not have all positions. Solution: Also add a position for white space. (closes #10404)
This commit is contained in:
@@ -4729,7 +4729,7 @@ fuzzy_match_in_list(
|
||||
p = str;
|
||||
while (*p != NUL)
|
||||
{
|
||||
if (!VIM_ISWHITE(PTR2CHAR(p)))
|
||||
if (!VIM_ISWHITE(PTR2CHAR(p)) || matchseq)
|
||||
{
|
||||
if (list_append_number(items[match_count].lmatchpos,
|
||||
matches[j]) == FAIL)
|
||||
|
Reference in New Issue
Block a user