Skip to content

Commit 9d66f47

Browse files
committed
Better wording in server not found warning
Fixes #2248
1 parent bd5c782 commit 9d66f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7758,7 +7758,7 @@ You may find the installation instructions at https://emacs-lsp.github.io/lsp-mo
77587758
((-> #'lsp--matching-clients? lsp--filter-clients not)
77597759
(lsp--error "There are no language servers supporting current mode `%s' registered with `lsp-mode'.
77607760
This issue might be caused by:
7761-
1. You haven't registered/loaded external language server package which doesn't ship with `lsp-mode'(e. g. `lsp-java', `lsp-metals').
7761+
1. The language you are trying to use does not have built-in support in `lsp-mode'. You must install the required support manually. Examples of this are `lsp-java' or `lsp-metals'.
77627762
2. The language server that you expect to run is not configured to run for major mode `%s'. You may check that by checking the `:major-modes' that are passed to `lsp-register-client'.
77637763
3. `lsp-mode' doesn't have any integration for the language behind `%s'. Refer to https://emacs-lsp.github.io/lsp-mode/page/languages and https://langserver.org/ ."
77647764
major-mode major-mode major-mode))))))

0 commit comments

Comments
 (0)