feat(clojure): improve default variables when +lsp

This commit is contained in:
Eric Dallo
2022-04-15 15:36:21 -03:00
committed by Henrik Lissner
parent ffe8226a5c
commit d9e66630b5
2 changed files with 22 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/clojure/doctor.el
(when (featurep! :checkers syntax)
(when (and (featurep! :checkers syntax)
(not (featurep! +lsp)))
(unless (executable-find "clj-kondo")
(warn! "Couldn't find clj-kondo. flycheck-clj-kondo will not work.")))