[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/eglot-texi-manual 2d2cdb4741 3/5: eglot.texi: Move sentence on L
From: |
Stefan Kangas |
Subject: |
feature/eglot-texi-manual 2d2cdb4741 3/5: eglot.texi: Move sentence on LSP Servers earlier |
Date: |
Thu, 20 Oct 2022 05:47:58 -0400 (EDT) |
branch: feature/eglot-texi-manual
commit 2d2cdb4741a3c1e42c8ed771303a878fd428911b
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
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.
---
doc/misc/eglot.texi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi
index bd92582f90..9ed482cec6 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