Fix treemacs + lsp doctor check

The previous check was incorrect when eglot and treemacs without lsp was
on.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
This commit is contained in:
Rudi Grinberg 2021-04-18 21:17:52 -07:00
parent 473417a890
commit 0aaebe2ca1

View file

@ -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.")