Move optional segments section
This commit is contained in:
parent
318ceaf07a
commit
e42ee24e23
32
mood-line.el
32
mood-line.el
@ -387,6 +387,22 @@ The mode line should fit the `window-width' with space between the lists."
|
||||
,reserve))))
|
||||
right)))
|
||||
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
;;
|
||||
;; Optional segments
|
||||
;;
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; Indentation style
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(defun mood-line-segment-indentation ()
|
||||
"Display the indentation style of the current buffer (if enabled)."
|
||||
(when mood-line-show-indentation-style
|
||||
(require 'mood-line-segment-indentation)
|
||||
(mood-line-segment-indentation--segment)))
|
||||
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
;;
|
||||
;; Modal editing segment
|
||||
@ -446,22 +462,6 @@ Modal modes checked, in order: `evil-mode', `meow-mode', `god-mode'."
|
||||
((featurep 'god-mode)
|
||||
(mood-line-segment-modal-god))))
|
||||
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
;;
|
||||
;; Optional segments
|
||||
;;
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; Indentation style
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(defun mood-line-segment-indentation ()
|
||||
"Display the indentation style of the current buffer (if enabled)."
|
||||
(when mood-line-show-indentation-style
|
||||
(require 'mood-line-segment-indentation)
|
||||
(mood-line-segment-indentation--segment)))
|
||||
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
;;
|
||||
;; Anzu segment
|
||||
|
Loading…
Reference in New Issue
Block a user