Enable copilot in yaml- and json-ts-modes

This commit is contained in:
Jeremy Dormitzer 2024-05-17 13:29:52 -04:00
parent 87584357a9
commit 71c86332c5

View File

@ -265,7 +265,9 @@
: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)
(yaml-ts-mode . copilot-mode)
(json-mode . copilot-mode) (json-mode . copilot-mode)
(json-ts-mode . copilot-mode)
(forge-post-mode . copilot-mode) (forge-post-mode . copilot-mode)
(git-commit-mode . copilot-mode)) (git-commit-mode . copilot-mode))
:config :config