Add smart-case sensitive completion
FuDesign2008 opened this issue · 1 comments
matchfuzzypos
is magic, but does not support smart-case.
Smart-case completion is handy in some cases, e.g. pressing isCTDV
to complete isClassesTransferDialogVisible
.
With matchfuzzypos
, isCTDV
can complete isctdv
or isCtdv
—— I think it is not smart-case.
(e.g. isT
can complete history
/History
/isString
...)
In below quoted table, fOo
will never match foo
.
YouCompleteMe support "smart-case" and "smart-[diacritic][]" sensitive.
Is there a way to support "smart-case" and "smart-[diacritic][]" sensitive in asyncomplete.vim ?
See https://github.com/ycm-core/YouCompleteMe#general-usage for more details.
Filtering is "smart-case" and "smart-[diacritic][]" 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). On top of that, a letter with no diacritic marks will match that
letter with or without marks:
matches foo fôo fOo fÔo foo ✔️ ✔️ ✔️ ✔️ fôo ❌ ✔️ ❌ ✔️ fOo ❌ ❌ ✔️ ✔️ fÔo ❌ ❌ ❌ ✔️
I create https://github.com/FuDesign2008/asyncomplete-smart-fuzzy.vim to add smart-case filter.
matches | foo | fOo |
---|---|---|
foo | ✔️ | ❌ |
fOo | ✔️ | ✔️ |