mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
9 lines
449 B
EmacsLisp
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/.")))
|