Update lang modules' :build settings
This commit is contained in:
parent
8f04e0355f
commit
648c4c1d3b
9 changed files with 27 additions and 10 deletions
|
@ -1,2 +1,7 @@
|
|||
;;; lang/rust/autoload.el
|
||||
|
||||
;;;###autoload
|
||||
;; TODO (defun +rust/run-cargo () (interactive))
|
||||
|
||||
;;;###autoload
|
||||
;; TODO (defun +rust-cargo-project-p ())
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
:init
|
||||
(add-hook 'rust-mode-hook 'flycheck-mode)
|
||||
:config
|
||||
(set! :build 'cargo-run '(rust-mode toml-mode)
|
||||
'+rust-is-cargo-project-p '+rust/cargo-run))
|
||||
(set! :build 'run-cargo '(rust-mode toml-mode) '+rust/run-cargo
|
||||
:when '+rust-cargo-project-p))
|
||||
|
||||
|
||||
(def-package! racer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue