blink.cmp
blink.cmp copied to clipboard
Snippet matcher sometimes doesn't find exact match when max_typos = 0
Make sure you have done the following
- [x] Updated to the latest version of
blink.cmp - [x] Searched for existing issues and documentation (try
<C-k>on https://cmp.saghen.dev)
Bug Description
I'm using native snippets and friendly snippets.
This bug only happens when you have max_typos set to 0
I created two custom snippets with the following prefixes: foo and scri.
when I type foo I get a snippet suggestion
However, when I type scri I don't get a suggestion
but when I type scr I do get a suggestion for scri
Relevant configuration
max_typos = function(keyword)
return 0
end,
neovim version
0.11.1
blink.cmp version
1.3.1