From 0aaebe2ca162cb2388423812a011e7b42e683a62 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Sun, 18 Apr 2021 21:17:52 -0700 Subject: [PATCH] Fix treemacs + lsp doctor check The previous check was incorrect when eglot and treemacs without lsp was on. Signed-off-by: Rudi Grinberg --- modules/ui/treemacs/doctor.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/treemacs/doctor.el b/modules/ui/treemacs/doctor.el index d01192e25b3..255732fb404 100644 --- a/modules/ui/treemacs/doctor.el +++ b/modules/ui/treemacs/doctor.el @@ -1,5 +1,5 @@ ;;; ui/treemacs/doctor.el -*- lexical-binding: t; -*- -(assert! (and (not (featurep! :tools lsp +eglot)) - (featurep! +lsp)) +(assert! (not (and (featurep! +lsp) + (featurep! :tools lsp +eglot))) "+lsp flag is not supported with eglot, only with lsp-mode.")