diff options
| author | Jeschli <jeschli@gmail.com> | 2019-12-11 19:34:08 +0100 | 
|---|---|---|
| committer | Jeschli <jeschli@gmail.com> | 2019-12-11 19:52:01 +0100 | 
| commit | 21dffdc8fadada7789f56bc2a600234efa0be437 (patch) | |
| tree | 3c551ded56a0906298d51a1c2f746c234ea0137b | |
| parent | dc8bc8d3733813b53ffd7dec542dbcedd8d616ef (diff) | |
j emacs: set racer paths for use with a shell-nix
| -rw-r--r-- | jeschli/2configs/emacs.nix | 2 | 
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) | 
