2018-06-13 06:24:37 +08:00
|
|
|
;;; currently nightly compiler is needed to install racer.
|
|
|
|
;;; See https://github.com/racer-rust/racer for detail.
|
2015-07-13 18:49:21 +08:00
|
|
|
(:name rust-racer
|
|
|
|
:type github
|
2018-06-13 06:24:37 +08:00
|
|
|
:pkgname "racer-rust/racer"
|
2015-07-13 18:49:21 +08:00
|
|
|
:description "Rust code completion and code navigation"
|
2018-06-13 06:24:37 +08:00
|
|
|
:build '(("cargo" "+nightly" "build" "--release"))
|
2016-04-16 04:07:51 +08:00
|
|
|
:prepare (setq racer-cmd (concat default-directory "/target/release/racer"))
|
|
|
|
:post-init (add-hook 'racer-mode-hook #'eldoc-mode))
|