From 8bd4e1f6920a818c1f45d9cceed853fb46ef8a92 Mon Sep 17 00:00:00 2001 From: Mathias Lavaert Date: Mon, 7 Sep 2020 15:34:43 +0200 Subject: [PATCH] Added warning for clang-format in doom doctor. Code formatting in Java doesn't work without clang-format, but no warning is shown in `doom doctor`. --- modules/lang/java/doctor.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/lang/java/doctor.el b/modules/lang/java/doctor.el index b57601c22..17bdd50dd 100644 --- a/modules/lang/java/doctor.el +++ b/modules/lang/java/doctor.el @@ -7,3 +7,6 @@ (unless (executable-find "javac") (warn! "Couldn't find the javac executable, are you sure the JDK is installed?")) + +(unless (executable-find "clang-format") + (warn! "Couldn't find clang-format. Code formatting will not work."))