mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Ensure order of after-change-major-mode-hook hooks
Reduces the likeliness of load order issues.
This commit is contained in:
@ -72,7 +72,7 @@ line with a linewise comment.")
|
||||
|
||||
(defun +evil|update-shift-width ()
|
||||
(setq evil-shift-width tab-width))
|
||||
(add-hook 'after-change-major-mode-hook #'+evil|update-shift-width t)
|
||||
(add-hook 'after-change-major-mode-hook #'+evil|update-shift-width)
|
||||
|
||||
|
||||
;; --- keybind fixes ----------------------
|
||||
|
Reference in New Issue
Block a user