mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
11 lines
408 B
EmacsLisp
11 lines
408 B
EmacsLisp
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
;;; lang/rust/doctor.el
|
|
|
|
(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'.")))
|