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

Add option to disable auto hide on pumvisible #270

Closed deathbeam closed 2 weeks ago

deathbeam commented 4 months ago

I like to always see the shadow text even when completion menu is open. Other integrations like intellij one have this as option as well.

deathbeam commented 4 months ago

Hmm this is probably still missing something because the suggestions are not updating while typing while complete menu is enabled. Btw even copilot.vim has this, just not advertised, via vim.g.copilot_hide_during_completion

deathbeam commented 4 months ago

Alright looks like the problem was that the update was handled in CursorChangedI so I also added TextChangedP and now it works properly

speelbarrow commented 3 months ago

+1 to this