nvim-cmp
nvim-cmp copied to clipboard
matcher issue
FAQ
- [X] I have checked the FAQ and it didn't resolve my problem.
Announcement
- [X] I have checked Breaking change announcement.
Minimal reproducible full config
Description
this is a fuzzy matcher bug
Steps to reproduce
local score, matches = matcher.match('core', 'lua/cmp/core.lua', config.matching)
print(score)
print(vim.inspect(matches))
add these code in matcher_spec.lua
, and run vusted ./lua/cmp/matcher_spec.lua
Expected behavior
can see a lua table to print
Actual behavior
0
{}
...
Additional context
No response