fix(rust): make cargo popups consistent

When invoking `rustic-cargo-run` a buffer called `*cargo-run*` is
opened. This adds a rule such that this buffer opens in a popup window
that is the same as the popup windows for other rustic cargo commands.

Ref: #2623
This commit is contained in:
arnfaldur 2023-10-06 22:36:59 +02:00 committed by GitHub
parent 1a2789c922
commit bd9aef928c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@
(add-hook 'rustic-mode-hook #'rainbow-delimiters-mode) (add-hook 'rustic-mode-hook #'rainbow-delimiters-mode)
(set-docsets! 'rustic-mode "Rust") (set-docsets! 'rustic-mode "Rust")
(set-popup-rule! "^\\*rustic-compilation" :vslot -1) (set-popup-rule! "^\\*rustic-compilation" :vslot -1)
(set-popup-rule! "^\\*cargo-run" :vslot -1)
(setq rustic-indent-method-chain t) (setq rustic-indent-method-chain t)