You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like with my setup at least (same as in #13 - Archlinux, emacs 27.1, Doom v2.0.9), diffs in the magit status buffer are indented by one space. This causes magit-delta to show empty lines as whitespace errors:
The same change in git diff with delta configured looks correct:
If I add (setq-default magit-delta-hide-plus-minus-markers nil) to my config, the issue persists:
If I remove (magit-delta-mode) from my config, it looks good (well, not as good as with delta!) as well:
The text was updated successfully, but these errors were encountered:
The-Compiler
changed the title
Empty lines are show as whitespace error
Empty lines are shown as whitespace error
Sep 9, 2020
Hi @The-Compiler, thanks for this. It's been occurring for me too. Definitely needs looking into and I'll try to do that soon! If you do feel like digging in further, that would of course be fantastic (I do have other delta and magit-delta bugs to work on.)
I don't really speak Lisp and I'm busy with my own projects (mainly qutebrowser) - so I won't be able to help much I'm afraid. Take your time though, in the meantime I just configured the whitespace markers in a way they are a bit more subtle.
It looks like with my setup at least (same as in #13 - Archlinux, emacs 27.1, Doom v2.0.9), diffs in the magit status buffer are indented by one space. This causes
magit-delta
to show empty lines as whitespace errors:The same change in
git diff
withdelta
configured looks correct:If I add
(setq-default magit-delta-hide-plus-minus-markers nil)
to my config, the issue persists:If I remove
(magit-delta-mode)
from my config, it looks good (well, not as good as with delta!) as well:The text was updated successfully, but these errors were encountered: