From a9440590956701165fdc4e6f388275168e269f9a Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Thu, 21 Nov 2024 20:50:30 -0500 Subject: [PATCH] feat(emacs): add priime-ai package I was convinced to. This is not of my own free will. Signed-off-by: Lucas Sta Maria --- .emacs.d/include/priime-ai.el | 18 ++++++++++++++++++ .emacs.d/init.el | 1 + 2 files changed, 19 insertions(+) create mode 100644 .emacs.d/include/priime-ai.el 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")