el-get/recipes/rust-racer.rcp

13 lines
593 B
Plaintext
Raw Normal View History

2015-07-13 18:49:21 +08:00
;; user should also set `racer-rust-src-path' to the path of the source-directory
;; of rust in his system and also set his keybinding as described in
;; https://github.com/phildawes/racer
(:name rust-racer
:type github
:pkgname "phildawes/racer"
:description "Rust code completion and code navigation"
:build '(("cargo" "build" "--release"))
:depends (rust-mode company-mode)
:load-path "editors/emacs"
:prepare (add-hook 'rust-mode-hook #'racer-activate)
:post-init (setq racer-cmd (concat default-directory "/target/release/racer")))