mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-10 15:33:36 -05:00
Code formatting in Java doesn't work without clang-format, but no warning is shown in `doom doctor`.
13 lines
428 B
EmacsLisp
13 lines
428 B
EmacsLisp
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
;;; lang/java/doctor.el
|
|
|
|
(assert! (or (not (featurep! +lsp))
|
|
(featurep! :tools lsp))
|
|
"This module requires (:tools lsp)")
|
|
|
|
(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."))
|