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
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ is deferred until the file is saved."
|
||||||
;; standardize default fringe width
|
;; standardize default fringe width
|
||||||
(if (fboundp 'fringe-mode) (fringe-mode '4))
|
(if (fboundp 'fringe-mode) (fringe-mode '4))
|
||||||
:config
|
: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)
|
;; Update git-gutter on focus (in case I was using git externally)
|
||||||
(add-hook 'focus-in-hook #'git-gutter:update-all-windows)
|
(add-hook 'focus-in-hook #'git-gutter:update-all-windows)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue