featurep! will be renamed modulep! in the future, so it's been deprecated. They have identical interfaces, and can be replaced without issue. featurep! was never quite the right name for this macro. It implied that it had some connection to featurep, which it doesn't (only that it was similar in purpose; still, Doom modules are not features). To undo such implications and be consistent with its namespace (and since we're heading into a storm of breaking changes with the v3 release anyway), now was the best opportunity to begin the transition.
9 lines
473 B
EmacsLisp
9 lines
473 B
EmacsLisp
;;; tools/lsp/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
(assert! (not (and (modulep! +eglot)
|
|
(modulep! +peek)))
|
|
"+eglot and +peek flags are not compatible. Peek uses lsp-mode, while Eglot is another package altogether for LSP.")
|
|
|
|
(unless (executable-find "npm")
|
|
(warn! "Couldn't find npm, most server installers won't work and will have to be installed manually.
|
|
For more information, see https://emacs-lsp.github.io/lsp-mode/page/languages/."))
|