Smart-case fuzzy filter for asyncomplete
The asyncomplete.vim use matchfuzzypos
to support fuzzy compeletion (see prabirshrestha/asyncomplete.vim#137), but matchfuzzypos
does not support smart-case, so this plugin add smart-case fuzzy completion.
Filtering is "smart-case" sensitive; if you are typing only lowercase letters, then it's case-insensitive. If your input contains uppercase letters, then the uppercase letters in your query must match uppercase letters in the completion strings (the lowercase letters still match both).
matches | foo | fOo |
---|---|---|
foo | ✔️ | ❌ |
fOo | ✔️ | ✔️ |
- Just install this vim plugin
- Need
matchfuzzypos()
support in vim, runexists('*matchfuzzypos')
orhelp matchfuzzypos
to see more.
- Need
- Enjoy smart-case completion
g:asf_min_num_of_chars_for_completion
: default value is2
- 2023-07-07
- add
g:asf_min_num_of_chars_for_completion
- modify smart case match logic
- add