doomemacs/modules/lang/sh/doctor.el

14 lines
479 B
EmacsLisp
Raw Normal View History

2019-04-23 19:28:41 +02:00
;;; lang/sh/doctor.el -*- lexical-binding: t; -*-
(when (modulep! :checkers syntax)
(unless (executable-find "shellcheck")
(warn! "Couldn't find shellcheck. Shell script linting will not work")))
(when (modulep! :editor format)
2022-07-12 06:38:47 +02:00
(unless (executable-find "shfmt")
(warn! "Couldn't find shfmt. Code formatting will not work.")))
(assert! (or (not (modulep! +tree-sitter))
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")