docs(lsp): add warning for missing npm
This commit is contained in:
parent
68191e7419
commit
7b66fbbed7
1 changed files with 4 additions and 0 deletions
|
@ -3,3 +3,7 @@
|
||||||
(assert! (not (and (featurep! +eglot)
|
(assert! (not (and (featurep! +eglot)
|
||||||
(featurep! +peek)))
|
(featurep! +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 (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/."))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue