Fix fuzzy match bug

This commit is contained in:
hrsh7th
2021-08-08 17:37:02 +09:00
parent efed43377b
commit cb67fe9093
2 changed files with 3 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ matcher.fuzzy = function(input, word, matches)
end
word_offset = word_offset + 1
end
if input_index >= #input then
if input_index > #input then
return true
end
return false