el-get/recipes/rust-racer.rcp

10 lines
453 B
Plaintext
Raw Permalink Normal View History

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"))
:prepare (setq racer-cmd (concat default-directory "/target/release/racer"))
:post-init (add-hook 'racer-mode-hook #'eldoc-mode))