mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-15 13:23:42 -05:00
fix(lsp): warn about server installers for lsp-mode
Having the warning show up for Eglot is confusing UX since it doesn't apply.
This commit is contained in:
committed by
Henrik Lissner
parent
57e2e989b1
commit
a8dc291971
@@ -4,6 +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 (executable-find "npm")
|
(unless (and (not (modulep! +eglot))
|
||||||
|
(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