Tell copilot that commit messages and forge posts are markdown

This commit is contained in:
Jeremy Dormitzer 2024-05-08 13:25:56 -04:00
parent a274d3ba9b
commit 9d967bfa7f

View File

@ -270,6 +270,8 @@
(git-commit-mode . copilot-mode)) (git-commit-mode . copilot-mode))
:config :config
(add-to-list 'warning-suppress-types '(copilot)) (add-to-list 'warning-suppress-types '(copilot))
(add-to-list 'copilot-major-mode-alist '("forge-post" . "markdown"))
(add-to-list 'copilot-major-mode-alist '("git-commit" . "markdown"))
: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