Browse Source

Merge pull request #25 from DamienCassou/fix-truncation

(Issue #24) Fix usage of truncate-string-to-width
flycheck-not-required
Nicolas Petton 5 years ago
committed by GitHub
parent
commit
9c37845148
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 nil nil "...")))))
(:eval (truncate-string-to-width vc-mode 25 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 nil nil "...")
(:eval (propertize (truncate-string-to-width vc-mode 25 nil nil "...")
'face (when (zerodark--active-window-p)
(zerodark-git-face)))))))


Loading…
Cancel
Save