doom-emacs/modules/lang/zig/doctor.el
2021-04-05 16:21:31 +08:00

13 lines
364 B
EmacsLisp

;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/zig/doctor.el
(assert! (or (not (featurep! +lsp))
(featurep! :tools lsp))
"This module requires (:tools lsp)")
(unless (executable-find "zig")
(warn! "Couldn't find zig binary"))
(when (featurep! +lsp)
(unless (executable-find "zls")
(warn! "Couldn't find zls binary")))