]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix eglot.texi (JSONRPC objects in Elisp) example
authorMatthew Woodcraft <matthew@woodcraft.me.uk>
Sun, 15 Oct 2023 18:50:26 +0000 (19:50 +0100)
committerEli Zaretskii <eliz@gnu.org>
Wed, 25 Oct 2023 13:26:16 +0000 (16:26 +0300)
* doc/misc/eglot.texi (JSONRPC objects in Elisp): Correct the
example.  (Bug#66569)

Copyright-paperwork-exempt: yes

doc/misc/eglot.texi

index 6eb212ca841b6ac3781694fce511835d6606cc24..3ddbac01ce8931952b2f7ed33d5dd63bcd761d72 100644 (file)
@@ -1234,8 +1234,8 @@ For example, the plist
 @lisp
 (:pylsp (:plugins (:jedi_completion (:include_params t
                                      :fuzzy t
-                                     :cache_for ["pandas" "numpy"]
-                   :pylint (:enabled :json-false))))
+                                     :cache_for ["pandas" "numpy"])
+                   :pylint (:enabled :json-false)))
  :gopls (:usePlaceholders t))
 @end lisp
 
@@ -1249,7 +1249,7 @@ is serialized by Eglot to the following JSON text:
       "jedi_completion": @{
         "include_params": true,
         "fuzzy": true,
-        "cache_for": [ "pandas", "numpy" ],
+        "cache_for": [ "pandas", "numpy" ]
       @},
       "pylint": @{
         "enabled": false
@@ -1257,8 +1257,8 @@ is serialized by Eglot to the following JSON text:
     @}
   @},
   "gopls": @{
-    "usePlaceholders":true
-  @},
+    "usePlaceholders": true
+  @}
 @}
 @end example