mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Format.
This commit is contained in:
parent
b34f9849d2
commit
bd8e00ff61
1 changed files with 1 additions and 3 deletions
|
@ -162,9 +162,7 @@ buffer where knowing the current project directory is important."
|
|||
(let* ((height (/ all-the-icons-scale-factor 1.3))
|
||||
(icon (if (and buffer-file-name
|
||||
(all-the-icons-auto-mode-match?))
|
||||
(doom-modeline-icon-for-file
|
||||
(file-name-nondirectory buffer-file-name)
|
||||
:height height)
|
||||
(doom-modeline-icon-for-file (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)))
|
||||
|
|
Loading…
Reference in a new issue