mirror of
https://github.com/hrsh7th/nvim-cmp
synced 2024-09-16 20:54:03 +02:00
parent
0b751f6bee
commit
82ba05c784
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ matcher.fuzzy = function(input, word, matches, option)
|
|||
word_offset = word_offset + 1
|
||||
end
|
||||
|
||||
if input_index > #input then
|
||||
if matched and input_index > #input then
|
||||
table.insert(matches, {
|
||||
input_match_start = input_match_start,
|
||||
input_match_end = input_match_end,
|
||||
|
|
Loading…
Reference in a new issue