Adjust icons' position.

This commit is contained in:
Vincent Zhang 2018-11-25 13:47:38 +08:00
parent 1ddf68939e
commit a95440341e

View file

@ -679,10 +679,8 @@ buffer where knowing the current project directory is important."
(concat (concat
(propertize icon (propertize icon
'help-echo (format "Major-mode: `%s'" major-mode) 'help-echo (format "Major-mode: `%s'" major-mode)
'display '(raise -0.15) 'display '(raise -0.125)
'face `(:height 1.1 'face `(:height 1.1 :family ,(all-the-icons-icon-family-for-mode major-mode) :inherit))
:family ,(all-the-icons-icon-family-for-mode major-mode)
:inherit))
" "))))) " ")))))
(add-hook 'find-file-hook 'doom-modeline-update-buffer-file-icon) (add-hook 'find-file-hook 'doom-modeline-update-buffer-file-icon)
(add-hook 'after-save-hook 'doom-modeline-update-buffer-file-icon) (add-hook 'after-save-hook 'doom-modeline-update-buffer-file-icon)