(straight-use-package 'dash) (straight-use-package 'editorconfig) (use-package copilot :straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el")) :ensure t) ;; you can utilize :map :hook and :config to customize copilot (add-hook 'prog-mode-hook 'copilot-mode) (define-key copilot-completion-map (kbd "") 'copilot-accept-completion) (define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion) (provide 'thwap-copilot)