mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
Rewrite doctor; move warn! blocks out in doctor.el files
This commit is contained in:
9
modules/lang/rust/doctor.el
Normal file
9
modules/lang/rust/doctor.el
Normal file
@@ -0,0 +1,9 @@
|
||||
;;; lang/rust/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(when (require 'racer nil t)
|
||||
;; racer
|
||||
(unless (file-exists-p racer-cmd)
|
||||
(warn! "Couldn't find the racer binary at `racer-cmd'"))
|
||||
;; rust source code (rustup component add rust-src)
|
||||
(unless (file-directory-p racer-rust-src-path)
|
||||
(warn! "Couldn't find Rust's source code at RUST_SRC_PATH or `racer-rust-src-path'.")))
|
Reference in New Issue
Block a user