ui/vc-gutter: resize git-gutter popup to fit
Due to the prompt, you can't scroll the git-gutter popup, making it difficult to see the full diff. This isn't a perfect fix but at least improves the situation.
This commit is contained in:
parent
9f45197a0b
commit
6745ff1323
|
@ -50,7 +50,7 @@ is deferred until the file is saved."
|
|||
;; standardize default fringe width
|
||||
(if (fboundp 'fringe-mode) (fringe-mode '4))
|
||||
:config
|
||||
(set-popup-rule! "^\\*git-gutter" :select nil)
|
||||
(set-popup-rule! "^\\*git-gutter" :select nil :size '+popup-shrink-to-fit)
|
||||
|
||||
;; Update git-gutter on focus (in case I was using git externally)
|
||||
(add-hook 'focus-in-hook #'git-gutter:update-all-windows)
|
||||
|
|
Loading…
Reference in New Issue
Block a user