fix(lsp): check npm when eglot is enabled
This commit is contained in:
parent
23c0eeba45
commit
5639ebf942
1 changed files with 4 additions and 4 deletions
|
@ -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/.")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue