fix(vc): *vc-{diff,change-log}* popup rules
The former rules weren't proccing on these buffers. Also changes *vc-diff* popups to resize based on contents.
This commit is contained in:
parent
ac33107228
commit
57f43e0953
1 changed files with 6 additions and 3 deletions
|
@ -28,10 +28,13 @@
|
||||||
"k" #'log-view-msg-prev))
|
"k" #'log-view-msg-prev))
|
||||||
|
|
||||||
|
|
||||||
(after! vc-annotate
|
(after! vc
|
||||||
(set-popup-rules!
|
(set-popup-rules!
|
||||||
'(("^\\*vc-diff" :select nil) ; *vc-diff*
|
'(("^\\*vc-diff" :select nil :size '+popup-shrink-to-fit)
|
||||||
("^\\*vc-change" :select t))) ; *vc-change-log*
|
("^\\*vc-change-log" :select t))))
|
||||||
|
|
||||||
|
|
||||||
|
(after! vc-annotate
|
||||||
(set-evil-initial-state! 'vc-annotate-mode 'normal)
|
(set-evil-initial-state! 'vc-annotate-mode 'normal)
|
||||||
|
|
||||||
;; Clean up after itself
|
;; Clean up after itself
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue