diff options
-rw-r--r-- | doc/emacs/maintaining.texi | 7 | ||||
-rw-r--r-- | doc/emacs/programs.texi | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index ad4a3ea3506..94171b3a089 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -2095,6 +2095,13 @@ that it only knows about subunits that were loaded into the interpreter.) @item +If Eglot is activated for the current buffer's project +(@pxref{Projects}) and the current buffer's major mode, Eglot consults +an external language server program and provides the data supplied by +the server regarding the definitions of the identifiers in the +project. @xref{Eglot Features,,, eglot, Eglot: The Emacs LSP Client}. + +@item An external program can extract references by scanning the relevant files, and build a database of these references. A backend can then access this database whenever it needs to list or look up references. diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 818deb39415..b5e577d96a4 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -287,6 +287,13 @@ they occur in the buffer; if you want alphabetic sorting, use the symbol @code{imenu--sort-by-name} as the value. You can also define your own comparison function by writing Lisp code. + If Eglot is activated for the current buffer's project +(@pxref{Projects}) and the current buffer's major mode, Eglot provides +its own facility for producing the buffer's index based on the +analysis of the program source by the language-server which manages +the current buffer. @xref{Eglot Features,,, eglot, Eglot: The Emacs +LSP Client}. + Imenu provides the information to guide Which Function mode @ifnottex (@pxref{Which Function}). @@ -1439,6 +1446,13 @@ candidates: @itemize @bullet @item +If Eglot is activated for the current buffer's project +(@pxref{Projects}) and the current buffer's major mode, the command +tries to use the corresponding language server for producing the list +of completion candidates. @xref{Eglot Features,,, eglot, Eglot: The +Emacs LSP Client}. + +@item If Semantic mode is enabled (@pxref{Semantic}), the command tries to use the Semantic parser data for completion. |