mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/doom-modeline: don't show uniquify in modeline (unnecessary cruft)
This commit is contained in:
@ -239,8 +239,10 @@ active."
|
|||||||
'xpm t :ascent 'center)))))
|
'xpm t :ascent 'center)))))
|
||||||
|
|
||||||
(defun +doom-modeline--buffer-file ()
|
(defun +doom-modeline--buffer-file ()
|
||||||
"TODO"
|
"Display the base of the current buffer's filename."
|
||||||
"%b")
|
(if buffer-file-name
|
||||||
|
(file-name-nondirectory buffer-file-truename)
|
||||||
|
"%b"))
|
||||||
|
|
||||||
(defun +doom-modeline--buffer-path ()
|
(defun +doom-modeline--buffer-path ()
|
||||||
"Displays the buffer's full path relative to the project root (includes the
|
"Displays the buffer's full path relative to the project root (includes the
|
||||||
|
Reference in New Issue
Block a user