mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-12 15:36:53 -05:00
bash-ts-mode is inferior to shell-script-mode's syntax highlighting and no other *-ts-mode modes are available for other shells (though, there *are* powershell and nushell ts-modes; I'll investigate those later).
10 lines
337 B
EmacsLisp
10 lines
337 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.")))
|