ony search for shellcheck executable when flycheck is enabled
This commit is contained in:
parent
e5e05f9d51
commit
ae11d92042
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; lang/sh/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(when! (not (executable-find "shellcheck"))
|
||||
(warn! "Couldn't find shellcheck. Shell script linting will not work"))
|
||||
|
||||
(when (featurep! :tools flycheck)
|
||||
(unless (executable-find "shellcheck")
|
||||
(warn! "Couldn't find shellcheck. Shell script linting will not work")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue