doomemacs/modules/lang/sh/doctor.el

14 lines
483 B
EmacsLisp
Raw Normal View History

2019-04-23 19:28:41 +02:00
;;; 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")))
2022-07-12 06:38:47 +02:00
(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)")