ui/doom-modeline: don't show uniquify in modeline (unnecessary cruft)

This commit is contained in:
Henrik Lissner 2017-05-14 09:46:48 +02:00
parent 527c459f11
commit 125fca09a0

View file

@ -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