summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-09-27 19:10:27 +0100
committerjao <jao@gnu.org>2026-09-27 19:11:13 +0100
commit3cddb04911e74cd66b6cd1ce179abad4fe462a4f (patch)
tree8f4c8f03dd74814c03a24ee8922123adfaf8ddcb /custom
parent2fe17b001ea9b5e008b45b9e556193074edbdcfc (diff)
downloadelibs-3cddb04911e74cd66b6cd1ce179abad4fe462a4f.tar.gz
elibs-3cddb04911e74cd66b6cd1ce179abad4fe462a4f.tar.bz2
rust nits
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-programming.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el
index c26fa45..f60dbc9 100644
--- a/custom/jao-custom-programming.el
+++ b/custom/jao-custom-programming.el
@@ -305,7 +305,8 @@
;;;; Rust
-(use-package jao-rust :demand t)
+(use-package jao-rust :demand t
+ :hook (rust-mode . jao-rust-show-module-mode))
(use-package rust-mode
:ensure t
@@ -370,7 +371,10 @@
(rustic-cargo-use-last-stored-arguments nil)
(rustic-cargo-test-runner 'nextest)
(rustic-cargo-nextest-exec-command '("nextest" "run" "--color=never" "--show-progress=none"))
- :bind (:map rustic-mode-map (("s-r" . jao-transient-rustic))))
+ :bind (:map rustic-mode-map (("C-R" . isearch-backward)
+ ("C-r" . jao-transient-rustic)
+ ("C-c c" . jao-transient-rustic)
+ ("C-c C-c" . jao-transient-rustic))))
(jao-attach-below-eldoc "\\*\\(cargo-.+\\|rustic-compilation\\)\\*" 0.5)