; Improve error message when LSP server not found

* lisp/progmodes/eglot.el (eglot--guess-contact): Improve wording of
error message when no LSP server was found.
This commit is contained in:
Stefan Kangas 2022-11-29 20:28:16 +01:00
parent 7ea95d1b92
commit 00cb6e052a

View file

@ -1011,7 +1011,7 @@ be guessed."
(and base-prompt
(cond (current-prefix-arg base-prompt)
((null guess)
(format "[eglot] Sorry, couldn't guess for `%s'!\n%s"
(format "[eglot] Couldn't guess LSP server for `%s'\n%s"
main-mode base-prompt))
((and program
(not (file-name-absolute-p program))