fix(clojure): undefined face on +light modeline

Amend: #5730
This commit is contained in:
Yoav Marco 2023-02-21 10:30:36 +02:00 committed by GitHub
parent 5b9c8f0bcc
commit 83a53259fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@
(defun +clojure--cider-connected-update-modeline ()
"Update modeline with cider connection state."
(let* ((connected (cider-connected-p))
(face (if connected 'warning 'breakpoint-disabled))
(face (if connected 'warning 'shadow))
(label (if connected "Cider connected" "Cider disconnected")))
(+clojure--cider-set-modeline face label))))