From d2cf1386fa433530e256ffd7bd197dcd1027231d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 18 Mar 2023 15:41:55 +0200 Subject: ; * doc/misc/eglot.texi (Eglot Commands): Improve indexing. --- doc/misc/eglot.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi index 235a0523fff..10eab5675a3 100644 --- a/doc/misc/eglot.texi +++ b/doc/misc/eglot.texi @@ -671,6 +671,7 @@ entire current buffer. This command reformats the current buffer, in the same manner as @code{eglot-format} does. +@cindex code actions @item M-x eglot-code-actions @itemx M-x eglot-code-action-organize-imports @itemx M-x eglot-code-action-quickfix @@ -699,8 +700,9 @@ Other commands execute a specific code action. For example, @dfn{imports}---declarations of modules whose capabilities the program uses. +@cindex inlay hints @item M-x eglot-inlay-hints-mode -This command toggles LSP ``inlay hints'' on and off for the current +This command toggles LSP @dfn{inlay hints} on and off for the current buffer. Inlay hints are small text annotations to specific parts of the whole buffer, not unlike diagnostics, but designed to help readability instead of indicating problems. For example, a C++ -- cgit v1.2.3