Files
doomemacs/modules/tools/lsp/doctor.el
Henrik Lissner 448bc5cae2 refactor: use negated flags
Ref: 7a806521a92c
2024-10-20 02:41:50 -04:00

9 lines
449 B
EmacsLisp

;;; tools/lsp/doctor.el -*- lexical-binding: t; -*-
(assert! (not (modulep! +eglot +peek))
"+eglot and +peek flags are not compatible. Peek uses lsp-mode, while Eglot is another package altogether for LSP.")
(unless (modulep! +eglot)
(unless (executable-find "npm")
(warn! "Couldn't find npm. `lsp-mode' needs npm to auto-install some LSP servers. For more information, see https://emacs-lsp.github.io/lsp-mode/page/languages/.")))