Revert "Improve git-timemachine segment."

This reverts commit 5e23b0cb34.
This commit is contained in:
Vincent Zhang 2019-07-18 20:04:39 +08:00
parent 5e23b0cb34
commit 01cff7701b

View file

@ -2255,21 +2255,20 @@ The cdr can also be a function that returns a name to use.")
(concat (concat
(doom-modeline-spc) (doom-modeline-spc)
(let (doom-modeline-major-mode-color-icon) (doom-modeline--buffer-mode-icon)
(doom-modeline--buffer-mode-icon))
;; snapshot icon ;; snapshot icon
(doom-modeline-buffer-file-state-icon (doom-modeline-buffer-file-state-icon
"camera_alt" "camera_alt"
"%1*" "%1*"
(if active 'mode-line 'mode-line-inactive) (if active 'warning 'mode-line-inactive)
1.2 1.1
-0.25) -0.25)
(doom-modeline-vspc) (doom-modeline-vspc)
;; buffer name ;; buffer name
(propertize "%b" 'face (if active (propertize "*%b*" 'face (if active
'(inherit (font-lock-doc-face bold)) 'doom-modeline-buffer-file
'mode-line-inactive))))) 'mode-line-inactive)))))
(provide 'doom-modeline-segments) (provide 'doom-modeline-segments)