15 lines
462 B
EmacsLisp
15 lines
462 B
EmacsLisp
|
|
(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 "<tab>") 'copilot-accept-completion)
|
|
(define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion)
|
|
|
|
(provide 'thwap-copilot)
|