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

feat: ability to override the completion handler #122

Closed
TorchedSammy opened this issue Mar 23, 2022 · 0 comments
Closed

feat: ability to override the completion handler #122

TorchedSammy opened this issue Mar 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@TorchedSammy
Copy link
Member

ive had this idea for a while: a way for users to be able to customize the way completions for the entire shell are handled.

this would mean that via lua you could change your way of doing completions like making it smarter, suggesting syntax, keywords and other things.

@TorchedSammy TorchedSammy added the enhancement New feature or request label Mar 23, 2022
TorchedSammy added a commit that referenced this issue Apr 23, 2022
this also makes the completion functions `bins`
and `files` also return the prefix to pass
to the completion handler.

this is an overhaul to the completion system,
which gets the completion handler from lua
instead of being made to only have lua provided
*command* completions.

it does not have any performance deficit, even
though it calls in to golua for completions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant