mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 19:19:53 +00:00
parent
a95440341e
commit
fa840219a3
1 changed files with 4 additions and 2 deletions
|
@ -679,8 +679,10 @@ 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.125)
|
'display '(raise -0.15)
|
||||||
'face `(:height 1.1 :family ,(all-the-icons-icon-family-for-mode major-mode) :inherit))
|
'face `(:height 1.1
|
||||||
|
: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)
|
||||||
|
|
Loading…
Reference in a new issue