mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Set default file icon.
This commit is contained in:
parent
fc8b61021d
commit
b34f9849d2
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ buffer where knowing the current project directory is important."
|
|||
(file-name-nondirectory buffer-file-name)
|
||||
:height height)
|
||||
(doom-modeline-icon-for-mode major-mode :height height))))
|
||||
(if (symbolp icon)
|
||||
(setq icon (doom-modeline-icon-for-mode 'fundamental-mode :height height)))
|
||||
(unless (symbolp icon)
|
||||
(propertize icon
|
||||
'help-echo (format "Major-mode: %s" mode-name)
|
||||
|
|
Loading…
Reference in a new issue