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))
|
||||
|
||||
|
||||
(after! vc-annotate
|
||||
(after! vc
|
||||
(set-popup-rules!
|
||||
'(("^\\*vc-diff" :select nil) ; *vc-diff*
|
||||
("^\\*vc-change" :select t))) ; *vc-change-log*
|
||||
'(("^\\*vc-diff" :select nil :size '+popup-shrink-to-fit)
|
||||
("^\\*vc-change-log" :select t))))
|
||||
|
||||
|
||||
(after! vc-annotate
|
||||
(set-evil-initial-state! 'vc-annotate-mode 'normal)
|
||||
|
||||
;; Clean up after itself
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue