General lang refactor; new refactor, help, build & test menus

This commit is contained in:
Henrik Lissner 2017-10-03 02:49:49 +02:00
parent d0fcb23314
commit ed76cfda99
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 87 additions and 67 deletions

View file

@ -27,11 +27,10 @@
(setq racer-cmd (expand-file-name "racer/target/release/racer" +rust-src-dir)
racer-rust-src-path (expand-file-name "rust/src/" +rust-src-dir))
(unless (file-exists-p racer-cmd)
(warn "rust-mode: racer binary can't be found; auto-completion is disabled"))
(set! :jump 'rust-mode :definition #'racer-find-definition)
;; TODO Unit test keybinds
(map! :map rust-mode-map :m "gd" #'racer-find-definition))
(unless (file-exists-p racer-cmd)
(warn "rust-mode: racer binary can't be found; auto-completion is disabled")))
(def-package! company-racer