From 9d967bfa7f8a916d3e5179fa667f258b7aa66d37 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 8 May 2024 13:25:56 -0400 Subject: [PATCH] Tell copilot that commit messages and forge posts are markdown --- emacs/.emacs.d/config/init-ide.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs/.emacs.d/config/init-ide.el b/emacs/.emacs.d/config/init-ide.el index 889b56d..c8afa54 100644 --- a/emacs/.emacs.d/config/init-ide.el +++ b/emacs/.emacs.d/config/init-ide.el @@ -270,6 +270,8 @@ (git-commit-mode . copilot-mode)) :config (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 (prog-mode-map "C-c " #'copilot-complete) (copilot-completion-map "C-n" #'copilot-next-completion