Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update a recipe of rust-racer (#2629)
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
;; 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 | ||
;;; currently nightly compiler is needed to install racer. | ||
;;; See https://github.com/racer-rust/racer for detail. | ||
(:name rust-racer | ||
:type github | ||
:pkgname "phildawes/racer" | ||
:pkgname "racer-rust/racer" | ||
:description "Rust code completion and code navigation" | ||
:build '(("cargo" "build" "--release")) | ||
:build '(("cargo" "+nightly" "build" "--release")) | ||
:prepare (setq racer-cmd (concat default-directory "/target/release/racer")) | ||
:post-init (add-hook 'racer-mode-hook #'eldoc-mode)) |