Fix race condition
This commit is contained in:
parent
86c9cecc4b
commit
3af24222b3
2 changed files with 5 additions and 6 deletions
|
@ -11,11 +11,10 @@
|
|||
(use-package flycheck-rust
|
||||
:after rust-mode)
|
||||
|
||||
(defvar racer-cmd (concat doom-ext-dir "/racer"))
|
||||
(defvar racer-rust-src-path (concat doom-ext-dir "/rust/src/"))
|
||||
(use-package racer
|
||||
:after rust-mode
|
||||
:preface
|
||||
(setq racer-cmd (concat doom-ext-dir "/racer")
|
||||
racer-rust-src-path (concat doom-ext-dir "/rust/src/"))
|
||||
:when (f-exists? racer-cmd)
|
||||
:init (add-hook! rust-mode '(racer-mode eldoc-mode flycheck-rust-setup))
|
||||
:config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue