Open bew opened 3 years ago
Make multiple tries:
If nothing can match with alphanumeric chars only, add _
to possible chars, if no match, add -
, etc..
IDEA: this could be mapped to a dedicated key (e.g. C-b
?), so I get full control on the completion sources here without adding usually-useless sources for usual auto-completion.
Is it possible?
A completion provider that bypass iskeyword and suggests completions from universal identifiers in the buffer.
This would allow a huge
gitgutter#hunk#close_hunk_previ|
to be completed ifclose_hunk_preview_window
is present in the buffer, even if iskeyword includes#
.Bonus points: work with fuzzy matching, with input like
gitgutter#hunk#clhpre|
I'd like to see it ONLY (?) if there are no other completion candidates available.