Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Universal alphanum identifier completion, bypassing iskeyword #66

Open
bew opened this issue May 24, 2021 · 2 comments
Open

Universal alphanum identifier completion, bypassing iskeyword #66

bew opened this issue May 24, 2021 · 2 comments
Labels

Comments

@bew
Copy link
Owner

bew commented May 24, 2021

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 if close_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.

@bew bew added status:need-help Extra attention is needed kind:question Further information is requested for:editor kind:idea labels May 24, 2021
@bew bew removed the kind:question Further information is requested label Jun 12, 2021
@bew
Copy link
Owner Author

bew commented Aug 31, 2021

Make multiple tries:
If nothing can match with alphanumeric chars only, add _ to possible chars, if no match, add -, etc..

@bew
Copy link
Owner Author

bew commented Jan 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant