From bd9aef928c6b32c368173f69458e8797841eeea3 Mon Sep 17 00:00:00 2001 From: arnfaldur Date: Fri, 6 Oct 2023 22:36:59 +0200 Subject: [PATCH] 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 --- modules/lang/rust/config.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lang/rust/config.el b/modules/lang/rust/config.el index 571a63077..9ed0483e3 100644 --- a/modules/lang/rust/config.el +++ b/modules/lang/rust/config.el @@ -30,6 +30,7 @@ (add-hook 'rustic-mode-hook #'rainbow-delimiters-mode) (set-docsets! 'rustic-mode "Rust") (set-popup-rule! "^\\*rustic-compilation" :vslot -1) + (set-popup-rule! "^\\*cargo-run" :vslot -1) (setq rustic-indent-method-chain t)