Files
doomemacs/modules/lang/sh/doctor.el
Henrik Lissner 448bc5cae2 refactor: use negated flags
Ref: 7a806521a92c
2024-10-20 02:41:50 -04:00

14 lines
473 B
EmacsLisp

;;; 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)
(unless (executable-find "shfmt")
(warn! "Couldn't find shfmt. Code formatting will not work.")))
(assert! (or (modulep! -tree-sitter)
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")