Browse Source

Show an ellipsis when truncating strings

flycheck-not-required
Nicolas Petton 5 years ago
parent
commit
dd41f2df39
Signed by: nico GPG Key ID: 233587A47C207910
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      zerodark-theme.el

+ 2
- 2
zerodark-theme.el View File

@ -125,7 +125,7 @@
(defvar zerodark-modeline-vc '(vc-mode (" "
(:eval (all-the-icons-faicon "code-fork" :height 0.9 :v-adjust 0))
(:eval (truncate-string-to-width 25 vc-mode)))))
(:eval (truncate-string-to-width 25 vc-mode nil nil "...")))))
(defvar zerodark-modeline-vc-alt '(vc-mode (" "
(:eval (all-the-icons-faicon "code-fork"
@ -133,7 +133,7 @@
:v-adjust 0
:face (when (zerodark--active-window-p)
(zerodark-git-face))))
(:eval (propertize (truncate-string-to-width 25 vc-mode)
(:eval (propertize (truncate-string-to-width 25 vc-mode nil nil "...")
'face (when (zerodark--active-window-p)
(zerodark-git-face)))))))


Loading…
Cancel
Save