mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Replace feature/eval build system with def-menu!
This commit is contained in:
@ -11,8 +11,11 @@
|
||||
(def-package! rust-mode
|
||||
:mode "\\.rs$"
|
||||
:config
|
||||
(set! :build 'run-cargo '(rust-mode toml-mode) #'+rust/run-cargo
|
||||
:when #'+rust-cargo-project-p))
|
||||
(def-menu! +rust/build-menu
|
||||
"TODO"
|
||||
'(("run" :exec "cargo run" :cwd t :when (+rust-cargo-project-p))
|
||||
("build" :exec "cargo build" :cwd t :when (+rust-cargo-project-p)))
|
||||
:prompt "Cargo: "))
|
||||
|
||||
|
||||
(def-package! racer
|
||||
|
Reference in New Issue
Block a user