el-get/recipes/rust-racer.rcp
2018-06-12 18:24:37 -04:00

10 lines
453 B
Plaintext

;;; currently nightly compiler is needed to install racer.
;;; See https://github.com/racer-rust/racer for detail.
(:name rust-racer
:type github
:pkgname "racer-rust/racer"
:description "Rust code completion and code navigation"
:build '(("cargo" "+nightly" "build" "--release"))
:prepare (setq racer-cmd (concat default-directory "/target/release/racer"))
:post-init (add-hook 'racer-mode-hook #'eldoc-mode))