Skip to content

Commit

Permalink
添加 copilot-chat 和 shell-maker
Browse files Browse the repository at this point in the history
* 蔓艸/擊鼓/篇.org
* 蔓艸/緑衣/補.org
  • Loading branch information
nasyxx committed Nov 1, 2024
1 parent 0884f99 commit 0ef375f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 蔓艸/擊鼓/篇.org
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,9 @@ Documentation is available at https://www.emacswiki.org/emacs/SetupEl
(sup '(copilot :host github :repo "zerolfx/copilot.el"
:files ("dist" "*.el"))
nasy--require)
(sup '(copilot-chat :host github :repo "chep/copilot-chat.el"
:files ("*.el"))
nasy--require)
(sup 'corfu nasy--require)
(sup `(corfu-extensions
:local-repo ,(concat (straight--repos-dir "corfu") "extensions"))
Expand Down
22 changes: 22 additions & 0 deletions 蔓艸/緑衣/補.org
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
(sup '(copilot :host github :repo "zerolfx/copilot.el"
:files ("dist" "*.el"))
t)
(sup 'shell-maker t)
(sup '(copilot-chat :host github :repo "chep/copilot-chat.el"
:files ("*.el"))
t)
(sup 'corfu t)
(sup `(corfu-extensions
:local-repo ,(concat (straight--repos-dir "corfu") "extensions")))
Expand Down Expand Up @@ -526,6 +530,24 @@ https://github.com/zerolfx/copilot.el
(:hook-into prog-mode-hook text-mode org-mode-hook emacs-lisp-mode-hook))
#+end_src

** copilot chat :convenience:tools:

Chat with Github copilot in Emacs!

https://github.com/chep/copilot-chat.el

#+begin_src emacs-lisp
(setup copilot-chat
(:doc "Chat with Github copilot in Emacs!")
(:url "https://github.com/chep/copilot-chat.el")
(:tag "convenience" "tools")
(:opt copilot-chat-frontend 'shell-maker)
(:when-loaded
(require 'copilot-chat-shell-maker)
(push '(shell-maker . copilot-chat-shell-maker-init) copilot-chat-frontend-list)
(copilot-chat-shell-maker-init)))
#+end_src

** corfu :editing:extensions:

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

0 comments on commit 0ef375f

Please sign in to comment.