j emacs: set racer paths for use with a shell-nix
This commit is contained in:
parent
ff5430a015
commit
c4806aa4f7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user