Skip to content

Commit 0ef375f

Browse files
committed
添加 copilot-chat 和 shell-maker
* 蔓艸/擊鼓/篇.org * 蔓艸/緑衣/補.org
1 parent 0884f99 commit 0ef375f

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

蔓艸/擊鼓/篇.org

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,9 @@ Documentation is available at https://www.emacswiki.org/emacs/SetupEl
559559
(sup '(copilot :host github :repo "zerolfx/copilot.el"
560560
:files ("dist" "*.el"))
561561
nasy--require)
562+
(sup '(copilot-chat :host github :repo "chep/copilot-chat.el"
563+
:files ("*.el"))
564+
nasy--require)
562565
(sup 'corfu nasy--require)
563566
(sup `(corfu-extensions
564567
:local-repo ,(concat (straight--repos-dir "corfu") "extensions"))

蔓艸/緑衣/補.org

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
(sup '(copilot :host github :repo "zerolfx/copilot.el"
3131
:files ("dist" "*.el"))
3232
t)
33+
(sup 'shell-maker t)
34+
(sup '(copilot-chat :host github :repo "chep/copilot-chat.el"
35+
:files ("*.el"))
36+
t)
3337
(sup 'corfu t)
3438
(sup `(corfu-extensions
3539
:local-repo ,(concat (straight--repos-dir "corfu") "extensions")))
@@ -526,6 +530,24 @@ https://github.com/zerolfx/copilot.el
526530
(:hook-into prog-mode-hook text-mode org-mode-hook emacs-lisp-mode-hook))
527531
#+end_src
528532

533+
** copilot chat :convenience:tools:
534+
535+
Chat with Github copilot in Emacs!
536+
537+
https://github.com/chep/copilot-chat.el
538+
539+
#+begin_src emacs-lisp
540+
(setup copilot-chat
541+
(:doc "Chat with Github copilot in Emacs!")
542+
(:url "https://github.com/chep/copilot-chat.el")
543+
(:tag "convenience" "tools")
544+
(:opt copilot-chat-frontend 'shell-maker)
545+
(:when-loaded
546+
(require 'copilot-chat-shell-maker)
547+
(push '(shell-maker . copilot-chat-shell-maker-init) copilot-chat-frontend-list)
548+
(copilot-chat-shell-maker-init)))
549+
#+end_src
550+
529551
** corfu :editing:extensions:
530552

531553
Corfu enhances the default completion in region function with a completion overlay.

0 commit comments

Comments
 (0)