[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/eglot-texi-manual 2a9797b422 1/2: Fix Eglot manual's description
From: |
João Távora |
Subject: |
feature/eglot-texi-manual 2a9797b422 1/2: Fix Eglot manual's description of eglot-workspace-configuration |
Date: |
Thu, 20 Oct 2022 06:44:28 -0400 (EDT) |
branch: feature/eglot-texi-manual
commit 2a9797b422fe8a28bfaab49974ea2be21ae2502e
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Fix Eglot manual's description of eglot-workspace-configuration
* doc/misc/eglot.texi (Customizing Eglot)
(eglot-workspace-configuration): Explain that plist may be
arbitrarily complex and correctly identify nil as the Elisp
equivalent to JSON null.
---
doc/misc/eglot.texi | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi
index caf09769b4..a05e7fd7ee 100644
--- a/doc/misc/eglot.texi
+++ b/doc/misc/eglot.texi
@@ -964,11 +964,12 @@ this variable should be a property list of the following
format:
@noindent
Here @code{:@var{server}} identifies a particular language server and
@var{plist} is the corresponding keyword-value property list of one or
-more parameter settings for that server. That list of parameters is
-serialized to JSON by Eglot and sent to the server. For that reason
-JSON values @code{true}, @code{false}, and @code{@{@}} should be
-represented in the property lists as Lisp symbols @code{t},
-@code{:json-false}, and @code{nil}, respectively.
+more parameter settings for that server, serialized by Eglot as a JSON
+object. @var{plist} may be arbitrarity complex, generally containing
+other keywork-value property sublists corresponding to JSON subobjects.
+The JSON values @code{true}, @code{false}, @code{null} and @code{@{@}}
+are represented by the Lisp values @code{t}, @code{:json-false},
+@code{nil}, and @{eglot-@{@}}, respectively.
@findex eglot-show-workspace-configuration
When experimenting with workspace settings, you can use the command