Highlight project-root for relative-from-project style

This commit is contained in:
Andrew Whatson 2019-03-05 10:46:58 +10:00
parent 8e0ed6239b
commit 3397c94da5

View file

@ -581,7 +581,7 @@ directory too."
(`relative-to-project (`relative-to-project
(doom-modeline--buffer-file-name-relative buffer-file-name buffer-file-truename)) (doom-modeline--buffer-file-name-relative buffer-file-name buffer-file-truename))
(`relative-from-project (`relative-from-project
(doom-modeline--buffer-file-name-relative buffer-file-name buffer-file-truename 'include-project)) (doom-modeline--buffer-file-name buffer-file-name buffer-file-truename nil nil 'hide))
(style (style
(propertize (propertize
(pcase style (pcase style