summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-10-20 11:40:37 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-10-20 11:43:40 +0200
commit2d2cdb4741a3c1e42c8ed771303a878fd428911b (patch)
treeb534409735a4a7463066c46a142cbc9f2a952e5c
parent4725c123f33eb9579b695748fa9f85c9af3eb01a (diff)
downloademacs-2d2cdb4741a3c1e42c8ed771303a878fd428911b.tar.gz
eglot.texi: Move sentence on LSP Servers earlier
* doc/misc/eglot.texi (Setting Up LSP Servers): Move explanation on the (lack of) need for customizing servers earlier.
-rw-r--r--doc/misc/eglot.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi
index bd92582f900..9ed482cec62 100644
--- a/doc/misc/eglot.texi
+++ b/doc/misc/eglot.texi
@@ -185,8 +185,10 @@ further discussed in this manual; refer to the documentation of the
particular server(s) you want to install.
To use a language server, Eglot must know how to start it and which
-programming languages each server supports. This information is
-provided by the @code{eglot-server-programs} variable.
+programming languages each server supports. Eglot comes with a fairly
+complete set of associations of major-modes to popular language
+servers predefined. This information is provided by the
+@code{eglot-server-programs} variable.
@defvar eglot-server-programs
This variable associates major modes with names and command-line
@@ -249,9 +251,7 @@ arguments.
@end defvar
-Eglot comes with a fairly complete set of associations of major-modes
-to popular language servers predefined in this variable. If you need
-to add server associations to the default list, use
+If you need to add server associations to the default list, use
@code{add-to-list}. For example, if there is a hypothetical language
server program @command{fools} for the language @code{Foo} which is
supported by an Emacs major-mode @code{foo-mode}, you can add it to