diff options
author | David Robillard <d@drobilla.net> | 2020-02-12 09:29:35 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-12 09:29:35 +0100 |
commit | 4a1e4599826e036e3da3bc367476b9817e5af2a6 (patch) | |
tree | 34a288d0c33d8d7b97b7c02cd67f7794d50763b2 /emacs | |
parent | 68d4cad05d8304de7da765d66e2b837a532b9d7b (diff) | |
download | dotfiles-4a1e4599826e036e3da3bc367476b9817e5af2a6.tar.gz dotfiles-4a1e4599826e036e3da3bc367476b9817e5af2a6.tar.bz2 dotfiles-4a1e4599826e036e3da3bc367476b9817e5af2a6.zip |
Pad buffer percentage indicator
Annoyingly, this makes things look right on Linux but is over-padded on MacOS.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index dc34927..fb4a2f1 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -97,8 +97,8 @@ (spaceline-define-segment buffer-position "Buffer position in percent" - (format "%3d%%%%" (/ (* 100 (- (line-number-at-pos) 1)) - (max 1 (count-lines (point-min) (point-max)))))) + (format "%3d%%%% " (/ (* 100 (- (line-number-at-pos) 1)) + (max 1 (count-lines (point-min) (point-max)))))) (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) |