ui/vc-gutter: git-gutter:window-width = 1

Hopefully fixes "jumpy gutter" when refreshing git-gutter in tty Emacs.
This commit is contained in:
Henrik Lissner 2018-12-05 22:10:02 -05:00
parent 5c294f5b01
commit 693711bf9c

View file

@ -38,7 +38,7 @@ to the right fringe.")
(setq-local git-gutter:init-function 'nil)
(setq-local git-gutter:view-diff-function #'git-gutter:view-diff-infos)
(setq-local git-gutter:clear-function #'git-gutter:clear-diff-infos)
(setq-local git-gutter:window-width nil))
(setq-local git-gutter:window-width 1))
(git-gutter-mode +1)))
(add-hook! (text-mode prog-mode conf-mode after-save)
#'+version-control|git-gutter-maybe)