From b04d0b4582807669b28f7c159be07430e7edfc6c Mon Sep 17 00:00:00 2001 From: Roman Scherer Date: Thu, 21 Aug 2025 14:28:19 +0200 Subject: [PATCH] Show diff blocks in markdown-mode with colors. --- eca-chat.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eca-chat.el b/eca-chat.el index 1c62abe..f719530 100644 --- a/eca-chat.el +++ b/eca-chat.el @@ -1010,6 +1010,9 @@ If FORCE? decide to OPEN? or not." (setq-local eca-chat--history '()) (setq-local eca-chat--history-index -1) + ;; Show diff blocks in markdown-mode with colors. + (setq-local markdown-fontify-code-blocks-natively t) + (make-local-variable 'completion-at-point-functions) (setq-local completion-at-point-functions (list #'eca-chat-completion-at-point))