mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
+ruby|adjust-mode-line -> +ruby|init-mode-line
To be consistent with other initializer hooks.
This commit is contained in:
@ -37,9 +37,9 @@
|
||||
(setq-hook! (ruby-mode enh-ruby-mode) sp-max-pair-length 6)
|
||||
|
||||
;; Add ruby version string to the major mode in the modeline
|
||||
(defun +ruby|adjust-mode-line ()
|
||||
(defun +ruby|init-mode-line ()
|
||||
(setq mode-name +ruby-mode-line-indicator))
|
||||
(add-hook 'enh-ruby-mode-hook #'+ruby|adjust-mode-line)
|
||||
(add-hook 'enh-ruby-mode-hook #'+ruby|init-mode-line)
|
||||
|
||||
(add-hook 'enh-ruby-mode-hook #'+ruby|update-version))
|
||||
|
||||
|
Reference in New Issue
Block a user