mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-09 12:57:25 -05:00
fix(lsp): check npm when eglot is enabled
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
(modulep! +peek)))
|
(modulep! +peek)))
|
||||||
"+eglot and +peek flags are not compatible. Peek uses lsp-mode, while Eglot is another package altogether for LSP.")
|
"+eglot and +peek flags are not compatible. Peek uses lsp-mode, while Eglot is another package altogether for LSP.")
|
||||||
|
|
||||||
(unless (and (not (modulep! +eglot))
|
(when (modulep! +eglot)
|
||||||
(executable-find "npm"))
|
(unless (executable-find "npm")
|
||||||
(warn! "Couldn't find npm, most server installers won't work and will have to be installed manually.
|
(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/."))
|
For more information, see https://emacs-lsp.github.io/lsp-mode/page/languages/.")))
|
||||||
|
Reference in New Issue
Block a user