diff --git a/.emacs.d/include/priime-ai.el b/.emacs.d/include/priime-ai.el new file mode 100644 index 0000000..aae1a17 --- /dev/null +++ b/.emacs.d/include/priime-ai.el @@ -0,0 +1,18 @@ +;;; priime-ai.el --- AI completion -*- lexical-binding: t -*- + +;;; Commentary: + +;; Contains configuration for AI completion. + +;;; Code: + +(use-package gptel :straight t) +(use-package copilot + :straight (copilot :type git :host github :repo "copilot-emacs/copilot.el")) +(use-package copilot-chat + :straight (copilot-chat :type git :host github :repo "chep/copilot-chat.el") + :after (copilot org markdown-mode request shell-maker)) + +(provide 'priime-ai) + +;;; priime-ai.el ends here diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5434490..c963f73 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -31,6 +31,7 @@ (load-library "priime-ui") (load-library "priime-org") (load-library "priime-languages") +(load-library "priime-ai") ;; Legacy (when (equal (system-name) "framework")