Enable copilot when writing commit messages and suppress copilot warnings
This commit is contained in:
parent
d578fcfaa7
commit
3ad9aaffef
@ -236,7 +236,11 @@
|
|||||||
:straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el"))
|
:straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el"))
|
||||||
:hook ((prog-mode . copilot-mode)
|
:hook ((prog-mode . copilot-mode)
|
||||||
(yaml-mode . copilot-mode)
|
(yaml-mode . copilot-mode)
|
||||||
(json-mode . copilot-mode))
|
(json-mode . copilot-mode)
|
||||||
|
(forge-post-mode . copilot-mode)
|
||||||
|
(git-commit-mode . copilot-mode))
|
||||||
|
:config
|
||||||
|
(add-to-list 'warning-suppress-types '(copilot))
|
||||||
:general
|
:general
|
||||||
(prog-mode-map "C-c <tab>" #'copilot-complete)
|
(prog-mode-map "C-c <tab>" #'copilot-complete)
|
||||||
(copilot-completion-map "C-n" #'copilot-next-completion
|
(copilot-completion-map "C-n" #'copilot-next-completion
|
||||||
|
Loading…
Reference in New Issue
Block a user