From 3fb52110a4102ca61dcbf02f874392493d704125 Mon Sep 17 00:00:00 2001 From: Julian DeMille <8127111+juliandemille@users.noreply.github.com> Date: Thu, 28 Nov 2019 21:53:46 -0500 Subject: [PATCH] Add LSP check to kotlin/doctor.el --- modules/lang/kotlin/doctor.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/lang/kotlin/doctor.el b/modules/lang/kotlin/doctor.el index 63eabc017..3e8451a82 100644 --- a/modules/lang/kotlin/doctor.el +++ b/modules/lang/kotlin/doctor.el @@ -2,3 +2,7 @@ (unless (executable-find "ktlint") (warn! "ktlint not found. flycheck-kotlin won't work.")) + +(assert! (or (not (featurep! +lsp)) + (featurep! :tools lsp)) + "This module requires (:tools lsp)")