mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Update lang modules' :build settings
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user