From 2d2cdb4741a3c1e42c8ed771303a878fd428911b Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 20 Oct 2022 11:40:37 +0200 Subject: [PATCH] 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 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 -- 2.39.5