mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(version-control): set tab-width in status and diff magit modes
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
("C-x g" 'magit-status)
|
||||
|
||||
:hook
|
||||
(siren-magit-mode . siren-magit-mode-setup)
|
||||
(magit-mode . siren-magit-mode-setup)
|
||||
(magit-status-mode . siren-magit-common-setup)
|
||||
(magit-diff-mode . siren-magit-common-setup)
|
||||
(git-commit-setup . siren-git-commit-mode-setup)
|
||||
|
||||
:custom
|
||||
@@ -42,6 +44,9 @@
|
||||
:preface
|
||||
(defalias 'bl 'magit-blame)
|
||||
|
||||
(defun siren-magit-common-setup ()
|
||||
(setq tab-width 4))
|
||||
|
||||
(defun siren-magit-mode-setup ())
|
||||
|
||||
(defun siren-git-commit-mode-setup ()
|
||||
|
||||
Reference in New Issue
Block a user