mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-30 11:09:55 +00:00
Only show buffer names in inactive windows.
This commit is contained in:
parent
e729389ab8
commit
88a10968d1
1 changed files with 5 additions and 1 deletions
|
@ -776,8 +776,12 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
|||
(concat
|
||||
(when (and doom-modeline-icon doom-modeline-major-mode-icon)
|
||||
(or doom-modeline--buffer-file-icon (doom-modeline-update-buffer-file-icon)))
|
||||
|
||||
(or doom-modeline--buffer-file-state-icon (doom-modeline-update-buffer-file-state-icon))
|
||||
(or doom-modeline--buffer-file-name (doom-modeline-update-buffer-file-name))))
|
||||
|
||||
(if (doom-modeline--active)
|
||||
(or doom-modeline--buffer-file-name (doom-modeline-update-buffer-file-name))
|
||||
"%b")))
|
||||
|
||||
(doom-modeline-def-segment buffer-info-simple
|
||||
"Display only the current buffer's name, but with fontification."
|
||||
|
|
Loading…
Reference in a new issue