copilot-emacs / copilot.el

An unofficial Copilot plugin for Emacs.
MIT License
1.79k stars 126 forks source link

Add option to disable idle completion #218

Closed emil-vdw closed 9 months ago

emil-vdw commented 9 months ago

Add support for disabling the copilot complete idle timer functionality entirely.

Implementation:

  1. Change copilot-idle-delay to accept a value of nil.
  2. Change the completion on idle timer functionality to only set the idle timer when copilot-idle-delay has a value of type number (non-nil).

Resolves #216.