From e1ade781400092f28bcd17ce00540f5bc53ee250 Mon Sep 17 00:00:00 2001 From: Willem Van den Ende Date: Wed, 10 Aug 2022 23:11:14 +0200 Subject: [PATCH] WIP attempt to get git-hl to work --- README.org | 6 ++++-- packages.el | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 174bc57..a6b3669 100644 --- a/README.org +++ b/README.org @@ -14,7 +14,7 @@ - [[#how-to-test][How to test]] - [[#instal-texlive-on-macos-or-ubuntu-for-pdf][Instal texlive on MacOS or Ubuntu for PDF]] - [[#instal-fonts-for-tufte-style][Instal fonts for tufte style]] - - [[#pretty-deltas-with-magit-delta][Pretty delta's with magit-delta]] + - [[#pretty-deltas-with-magit-delta][Pretty deltas with magit-delta]] - [[#features-1][Features]] - [[#configuration][Configuration]] - [[#troubleshooting][Troubleshooting]] @@ -85,7 +85,7 @@ Because Operator Mono Ssm is not a free font. \\setmonofont[Scale=MatchLowercase]{Fira Code} #+end_src -** Pretty delta's with magit-delta +** Pretty deltas with magit-delta Package added in file:packages.el enabled after magit in file:config.el. Highlighting / theme settings in file:~/.gitconfig. @@ -95,6 +95,8 @@ Highlighting / theme settings in file:~/.gitconfig. - Line numbers and side-by-side view are enabled in the terminal. Reason / explanation in https://scripter.co/using-git-delta-with-magit/ +Magit does not need line numbers, the line where one can expand/collapse already shows them. + * Configuration # How to configure this module, including common problems and how to address them. diff --git a/packages.el b/packages.el index e83f031..ca6c34c 100644 --- a/packages.el +++ b/packages.el @@ -9,6 +9,7 @@ ;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror: ;(package! some-package) (package! magit-delta) +(package! diff-hl) ;; To install a package directly from a remote git repo, you must specify a ;; `:recipe'. You'll find documentation on what `:recipe' accepts here: ;; https://github.com/raxod502/straight.el#the-recipe-format