forked from colonelpanic/dotfiles
Enable racer-mode when in rust-mode
This commit is contained in:
parent
1fb07d661e
commit
ed4dee25ef
@ -2439,6 +2439,10 @@ Reduce indentation for some functions
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package rust-mode
|
(use-package rust-mode
|
||||||
:mode (("\\.rs\\'" . rust-mode))
|
:mode (("\\.rs\\'" . rust-mode))
|
||||||
|
:preface
|
||||||
|
(progn
|
||||||
|
(defun imalison:rust-mode-hook ()
|
||||||
|
(racer-mode 1)))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(use-package flycheck-rust
|
(use-package flycheck-rust
|
||||||
|
Loading…
Reference in New Issue
Block a user