zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.43k stars 64 forks source link

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

Open BenjyRead opened 1 month ago

BenjyRead commented 1 month ago

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.