Only check when formatting feature is enabled.
This commit is contained in:
parent
8bd4e1f692
commit
7bff813fc3
1 changed files with 3 additions and 2 deletions
|
@ -8,5 +8,6 @@
|
||||||
(unless (executable-find "javac")
|
(unless (executable-find "javac")
|
||||||
(warn! "Couldn't find the javac executable, are you sure the JDK is installed?"))
|
(warn! "Couldn't find the javac executable, are you sure the JDK is installed?"))
|
||||||
|
|
||||||
|
(when (featurep! :editor format)
|
||||||
(unless (executable-find "clang-format")
|
(unless (executable-find "clang-format")
|
||||||
(warn! "Couldn't find clang-format. Code formatting will not work."))
|
(warn! "Couldn't find clang-format. Code formatting will not work.")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue