Open epheien opened 3 days ago
this is a fuzzy matcher bug
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
matcher_spec.lua
vusted ./lua/cmp/matcher_spec.lua
can see a lua table to print
0 {} ...
No response
matching = { disallow_partial_fuzzy_matching = false, -- default: true disallow_symbol_nonprefix_matching = false, -- default: true }
add this option is a temp workaround
FAQ
Announcement
Minimal reproducible full config
Description
this is a fuzzy matcher bug
Steps to reproduce
add these code in
matcher_spec.lua
, and runvusted ./lua/cmp/matcher_spec.lua
Expected behavior
can see a lua table to print
Actual behavior
Additional context
No response