mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
14 lines
473 B
EmacsLisp
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)")
|