diff --git a/README.org b/README.org index 3fc1bed..601a925 100644 --- a/README.org +++ b/README.org @@ -51,8 +51,18 @@ The README was generated by doom emacs when creating a README.org file with it. *** diff-hl errors in magit -I think diff-hl shows changes at the side of a buffer. For inside magit we now have `magit-delta` so it is not needed there. But for now, use the workaround. -Workaround: enable global mode - ~(global-diff-hl-mode)~ +**** Why +I think diff-hl shows changes at the side of a buffer, which I quite like. It seems configured with Doom emacs. +For inside magit we now have `magit-delta` so it is not needed there. But for now, use one of the workarounds. +**** Manual workaround: enable global mode - ~(global-diff-hl-mode)~ +**** Config workaround - disable diff-hl in magit +file:config.el +#+begin_src emacs-lisp +(after! (magit) + (remove-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)) +#+end_src + +adding diff-hl to the after! list did not seem to work. it is all a bit mysterious. * Prerequisites Doom Emacs installation