From 56a2c15c44dd470ce4755ebc89ba11b1927fe091 Mon Sep 17 00:00:00 2001 From: wanghao Date: Tue, 18 Dec 2018 13:29:56 +0800 Subject: [PATCH] add rust key bingding description --- modules/lang/rust/config.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/lang/rust/config.el b/modules/lang/rust/config.el index 960cb7289..6f18a25ea 100644 --- a/modules/lang/rust/config.el +++ b/modules/lang/rust/config.el @@ -8,10 +8,10 @@ (map! :map rust-mode-map :localleader :prefix "b" - :n "b" (λ! (compile "cargo build --color always")) - :n "c" (λ! (compile "cargo check --color always")) - :n "r" (λ! (compile "cargo run --color always")) - :n "t" (λ! (compile "cargo test --color always")))) + :desc "cargo build" :n "b" (λ! (compile "cargo build --color always")) + :desc "cargo check" :n "c" (λ! (compile "cargo check --color always")) + :desc "cargo run" :n "r" (λ! (compile "cargo run --color always")) + :desc "cargo test" :n "t" (λ! (compile "cargo test --color always")))) (def-package! racer