disable whitespace mode in magit

This commit is contained in:
2023-09-12 21:34:58 +02:00
parent f95b1fc88f
commit db1d04323f

4
.emacs
View File

@@ -26,6 +26,7 @@
'(doom-modeline-indent-info t) '(doom-modeline-indent-info t)
'(doom-modeline-minor-modes t) '(doom-modeline-minor-modes t)
'(doom-modeline-total-line-number t) '(doom-modeline-total-line-number t)
'(fill-column 80)
'(global-auto-revert-mode t) '(global-auto-revert-mode t)
'(global-display-line-numbers-mode t) '(global-display-line-numbers-mode t)
'(global-subword-mode t) '(global-subword-mode t)
@@ -156,6 +157,9 @@
(use-package magit (use-package magit
:commands (magit-status) :commands (magit-status)
:bind ("C-x g" . magit-status) :bind ("C-x g" . magit-status)
:hook
(magit-mode .
(lambda () (setq-local whitespace-style nil)))
:custom :custom
(magit-credential-cache-daemon-socket nil) (magit-credential-cache-daemon-socket nil)
) )