Skip to content

Is there any way to access the copilot suggestion in an autocommand? #287

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

Open
BenjyRead opened this issue May 9, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@BenjyRead
Copy link

I might be being dumb but I can't see any way to access a suggestion in the init.lua when it occurs. I wanted to automatically dismiss any suggestions under 5 characters.

@AntoineGS AntoineGS added the enhancement New feature or request label Mar 30, 2025
@AntoineGS AntoineGS self-assigned this Mar 30, 2025
@AntoineGS
Copy link
Collaborator

Instead of an autocmd I think it makes sense to add this as a configuration, I could see people (me included) using a minimum characters limit.

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

2 participants