emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/elpa f7a7e33 15/71: Tweak docstring of eglot-server-pro


From: João Távora
Subject: [elpa] externals/elpa f7a7e33 15/71: Tweak docstring of eglot-server-programs
Date: Wed, 16 Dec 2020 11:42:16 -0500 (EST)

branch: externals/elpa
commit f7a7e33c1e846cb09d93ff63cf2dafa398410d8f
Author: Dan Davison <dandavison7@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Tweak docstring of eglot-server-programs
    
    Co-authored-by: João Távora <joaotavora@gmail.com>
    
    * eglot.el (eglot-server-programs): Fix typos and phrasing.
---
 eglot.el | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/eglot.el b/eglot.el
index afb7063c..6db0a09 100644
--- a/eglot.el
+++ b/eglot.el
@@ -120,27 +120,28 @@ of those modes.  CONTACT can be:
   PROGRAM is called with ARGS and is expected to serve LSP requests
   over the standard input/output channels.
 
-* A list (HOST PORT [TCP-ARGS...]) where HOST is a string and PORT is
-  na positive integer number for connecting to a server via TCP.
+* A list (HOST PORT [TCP-ARGS...]) where HOST is a string and
+  PORT is a positive integer for connecting to a server via TCP.
   Remaining ARGS are passed to `open-network-stream' for
   upgrading the connection with encryption or other capabilities.
 
-* A list (PROGRAM [ARGS...] :autoport [MOREARGS...]), whereby a
-  combination of the two previous options is used..  First, an
+* A list (PROGRAM [ARGS...] :autoport [MOREARGS...]), whereupon a
+  combination of the two previous options is used.  First, an
   attempt is made to find an available server port, then PROGRAM
   is launched with ARGS; the `:autoport' keyword substituted for
-  that number; and MOREARGS.  Eglot then attempts to to establish
-  a TCP connection to that port number on the localhost.
+  that number; and MOREARGS.  Eglot then attempts to establish a
+  TCP connection to that port number on the localhost.
 
 * A cons (CLASS-NAME . INITARGS) where CLASS-NAME is a symbol
   designating a subclass of `eglot-lsp-server', for representing
   experimental LSP servers.  INITARGS is a keyword-value plist
-  used to initialize CLASS-NAME, or a plain list interpreted as
-  the previous descriptions of CONTACT, in which case it is
-  converted to produce a plist with a suitable :PROCESS initarg
-  to CLASS-NAME.  The class `eglot-lsp-server' descends
-  `jsonrpc-process-connection', which you should see for the
-  semantics of the mandatory :PROCESS argument.
+  used to initialize the object of CLASS-NAME, or a plain list
+  interpreted as the previous descriptions of CONTACT.  In the
+  latter case that plain list is used to produce a plist with a
+  suitable :PROCESS initarg to CLASS-NAME.  The class
+  `eglot-lsp-server' descends from `jsonrpc-process-connection',
+  which you should see for the semantics of the mandatory
+  :PROCESS argument.
 
 * A function of a single argument producing any of the above
   values for CONTACT.  The argument's value is non-nil if the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]