mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
Add :lang zig
module
This commit is contained in:
13
modules/lang/zig/doctor.el
Normal file
13
modules/lang/zig/doctor.el
Normal file
@@ -0,0 +1,13 @@
|
||||
;; -*- 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")))
|
Reference in New Issue
Block a user