From ed4dee25ef3fdaba8acf45b8f4c7b01c2e6f4d88 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 5 Jul 2016 19:08:32 -0700 Subject: [PATCH] Enable racer-mode when in rust-mode --- dotfiles/emacs.d/README.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 4d89d260..2ac06d2c 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2439,6 +2439,10 @@ Reduce indentation for some functions #+BEGIN_SRC emacs-lisp (use-package rust-mode :mode (("\\.rs\\'" . rust-mode)) + :preface + (progn + (defun imalison:rust-mode-hook () + (racer-mode 1))) :config (progn (use-package flycheck-rust