Files
doomemacs/modules/lang/sh/doctor.el
2022-07-23 16:32:16 +02:00

14 lines
483 B
EmacsLisp

;;; lang/sh/doctor.el -*- lexical-binding: t; -*-
(when (featurep! :checkers syntax)
(unless (executable-find "shellcheck")
(warn! "Couldn't find shellcheck. Shell script linting will not work")))
(when (featurep! :editor format)
(unless (executable-find "shfmt")
(warn! "Couldn't find shfmt. Code formatting will not work.")))
(assert! (or (not (featurep! +tree-sitter))
(featurep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")