This commit is contained in:
Henrik Lissner 2016-03-27 00:46:52 -04:00
parent 817a41a739
commit 63f03bde2d
3 changed files with 25 additions and 7 deletions

View file

@ -10,10 +10,10 @@
:config (add-hook! rust-mode 'flycheck-mode))
(use-package racer
:when (file-exists-p "/usr/local/bin/racer")
:when (file-exists-p (concat narf-ext-dir "/racer"))
:config
(setq racer-cmd "/usr/local/bin/racer"
racer-rust-src-path "~/Dropbox/lib/rust/src/")
(setq racer-cmd (concat narf-ext-dir "/racer")
racer-rust-src-path (concat narf-ext-dir "/rust/src/"))
(map! :map rust-mode-map :m "gd" 'racer-find-definition)
;; TODO Unit test keybinds