From cfccc1a87c447494f9fe77d08d11563ae7c175dc Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 22 Mar 2025 09:04:48 +0200 Subject: [PATCH] ; * doc/emacs/programs.texi (Program Modes): Add info about Eglot. (cherry picked from commit 0d9b14ed05701104d251495cf80fe47627a3b0ee) --- doc/emacs/programs.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index bb0cf2d405f..5412fcf5c8c 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -114,6 +114,16 @@ utilize the incremental parsing capabilities provided by @samp{tree-sitter}. These modes have @samp{-ts-} in their names; for example @code{c-ts-mode}, @code{python-ts-mode}, etc. +@cindex LSP +@cindex language server +@cindex Eglot + Major modes for programming languages can use services of +@dfn{language servers} via the facilities provided by the Eglot package. +Eglot implements LSP, the @dfn{language server protocol}, which allows +Emacs to receive language-specific information and services that enrich +and extend source code editing capabilities. @xref{Eglot Features,,, +eglot, Eglot: The Emacs LSP Client}. + @kindex DEL @r{(programming modes)} @findex backward-delete-char-untabify In most programming languages, indentation should vary from line to -- 2.39.5