rust fixups
This commit is contained in:
parent
0db5a7c12b
commit
cdee6699c8
@ -2428,6 +2428,7 @@ items follow a style that is consistent with other prog-modes."
|
|||||||
:preface
|
:preface
|
||||||
(progn
|
(progn
|
||||||
(defun imalison:rust-mode-hook ()
|
(defun imalison:rust-mode-hook ()
|
||||||
|
(imalison:make-imenu-index-flat)
|
||||||
(racer-mode)))
|
(racer-mode)))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
@ -2436,13 +2437,13 @@ items follow a style that is consistent with other prog-modes."
|
|||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(add-hook 'flycheck-mode-hook #'flycheck-rust-setup)))
|
(add-hook 'flycheck-mode-hook #'flycheck-rust-setup)))
|
||||||
(use-package emacs-racer
|
(use-package racer
|
||||||
:demand t
|
:demand t
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(setq racer-cmd "~/.cargo/bin/racer")
|
(setq racer-cmd "~/.cargo/bin/racer")
|
||||||
(setq racer-rust-src-path "~/Projects/rust/src")))
|
(setq racer-rust-src-path "~/Projects/rust/src")))
|
||||||
(use-package cargo-mode
|
(use-package cargo
|
||||||
:demand t
|
:demand t
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
Loading…
Reference in New Issue
Block a user