From 8627b48b79bca1a839af60ca13a398bc1a0edcff Mon Sep 17 00:00:00 2001 From: Philippe Dosch <Philippe.Dosch@loria.fr> Date: Thu, 14 Nov 2019 15:19:18 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20diff-dl=20(apr=C3=A8s=20test=20de?= =?UTF-8?q?=20guter=20git)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .emacs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.emacs b/.emacs index 975e2d5..0ce7d37 100644 --- a/.emacs +++ b/.emacs @@ -587,6 +587,15 @@ (setq magit-save-some-buffers 'dontask) (setq magit-commit-all-when-nothing-staged 'askstage)) +;; diff-hl-mode : pour visualiser les lignes en diff (bon complément +;; à magit) + +(use-package diff-hl + :ensure t + :config + (global-diff-hl-mode) + (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)) + ;; Pour feature-mode (édition de fichier cucumber) (use-package feature-mode :ensure t -- GitLab