summaryrefslogtreecommitdiffstats
path: root/jeschli/2configs
diff options
context:
space:
mode:
authorJeschli <jeschli@gmail.com>2019-12-11 19:34:08 +0100
committerJeschli <jeschli@gmail.com>2020-02-11 17:54:20 +0100
commitf4728e525ae08ba588c19c99046b1ad3cf7ce6bb (patch)
tree6ff4f16a0610495df56a57bcfab1736f907c5a01 /jeschli/2configs
parent33c607370d6e78a9862a4ff735a5fc840a1211d0 (diff)
j emacs: set racer paths for use with a shell-nix
Diffstat (limited to 'jeschli/2configs')
-rw-r--r--jeschli/2configs/emacs.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/jeschli/2configs/emacs.nix b/jeschli/2configs/emacs.nix
index 614f195..0a81048 100644
--- a/jeschli/2configs/emacs.nix
+++ b/jeschli/2configs/emacs.nix
@@ -123,6 +123,8 @@ let
#
# This requires rls and racer to be installed on the system
rustDevelopment = ''
+ (setq racer-rust-src-path nil) ;; read from shell-nix
+ (setq racer-cmd "racer") ;; read from shell-nix
(add-hook 'rust-mode-hook #'racer-mode)
(add-hook 'rust-mode-hook (lambda()
(local-set-key (kbd "C-c C-d") 'racer-describe)