Don't truncate filenames so much in modeline.

This commit is contained in:
tastytea 2019-03-28 21:47:43 +01:00
parent ba0a5486d8
commit 29ebef34fc
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-28 21:21:09 CET>
;;; Time-stamp: <2019-03-28 21:42:32 CET>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -345,7 +345,8 @@
(column-number-mode t) ; Show column numbers in modeline.
:config
(setq doom-modeline-minor-modes t
doom-modeline-buffer-file-name-style 'relative-to-project
;; doom-modeline-buffer-file-name-style 'relative-to-project
doom-modeline-buffer-file-name-style 'truncate-upto-project
doom-modeline-minor-modes nil)
:hook
(after-init . doom-modeline-mode))