[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 6f6f01d 018/139: Doc fixes
From: |
João Távora |
Subject: |
[elpa] externals/eglot 6f6f01d 018/139: Doc fixes |
Date: |
Mon, 14 May 2018 09:54:43 -0400 (EDT) |
branch: externals/eglot
commit 6f6f01d15ee5558bf951181b1f872154dd405aae
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Doc fixes
* eglot.el (eglot-mode-map): Move up before minor mode.
---
eglot.el | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/eglot.el b/eglot.el
index 8356f8e..9e5f6c2 100644
--- a/eglot.el
+++ b/eglot.el
@@ -36,12 +36,12 @@
:group 'applications)
(defvar eglot-executables '((rust-mode . ("rls")))
- "Alist mapping major modes to server executables")
+ "Alist mapping major modes to server executables.")
(defvar eglot--processes-by-project (make-hash-table :test #'equal))
(defun eglot--current-process ()
- "The current logical EGLOT process"
+ "The current logical EGLOT process."
(let ((cur (project-current)))
(and cur
(gethash cur eglot--processes-by-project))))
@@ -98,7 +98,8 @@
probe))
(defun eglot-new-process (&optional interactive)
- "Starts a new EGLOT process and initializes it"
+ "Start a new EGLOT process and initialize it.
+INTERACTIVE is t if called interactively."
(interactive (list t))
(let ((project (project-current))
(command (eglot--command 'errorp)))
@@ -226,12 +227,14 @@
)))))))
(defmacro eglot--obj (&rest what)
- "Make an object suitable for `json-encode'"
+ "Make WHAT a suitable argument for `json-encode'."
;; FIXME: maybe later actually do something, for now this just fixes
;; the indenting of literal plists.
`(list ,@what))
(defun eglot-events-buffer (process &optional interactive)
+ "Display events buffer for current LSP connection PROCESS.
+INTERACTIVE is t if called interactively."
(interactive (list (eglot--current-process-or-lose) t))
(let* ((probe (eglot--events-buffer process))
(buffer (or (and (buffer-live-p probe)
@@ -264,7 +267,7 @@
"A list of variables with saved values on every request.")
(defvar eglot--environment nil
- "Dynamically bound alist of symbol and values")
+ "Dynamically bound alist of symbol and values.")
(defun eglot--process-receive (proc message)
"Process MESSAGE from PROC."
@@ -325,6 +328,7 @@
(setq eglot--next-request-id (1+ eglot--next-request-id)))
(defun eglot-forget-pending-continuations (process)
+ "Stop waiting for responses from the current LSP PROCESS."
(interactive (eglot--current-process-or-lose))
(clrhash (eglot--pending-continuations process)))
@@ -641,7 +645,7 @@ running. INTERACTIVE is t if called interactively."
(" [" eglot--mode-line-format "] ")))
(defvar eglot--recent-changes nil
- "List of recent changes as collected by `eglot--after-change'")
+ "List of recent changes as collected by `eglot--after-change'.")
(defvar-local eglot--versioned-identifier 0)
- [elpa] externals/eglot bc011d0 010/139: Minor cleanup, (continued)
- [elpa] externals/eglot bc011d0 010/139: Minor cleanup, João Távora, 2018/05/14
- [elpa] externals/eglot e60c7fc 013/139: Overhaul async mechanism safety, João Távora, 2018/05/14
- [elpa] externals/eglot a4f99e0 005/139: Introduce and use `eglot--current-process-or-lose', João Távora, 2018/05/14
- [elpa] externals/eglot efd14d6 015/139: Fix mode line, João Távora, 2018/05/14
- [elpa] externals/eglot 63f2208 030/139: Less obstrusive flymake stuff for now, João Távora, 2018/05/14
- [elpa] externals/eglot 8bd634c 016/139: Start working on this again, João Távora, 2018/05/14
- [elpa] externals/eglot 3403f86 027/139: Correctly report what we currently are capable of, João Távora, 2018/05/14
- [elpa] externals/eglot 7c82a03 024/139: Start experimenting with python, João Távora, 2018/05/14
- [elpa] externals/eglot 8e6488f 023/139: Don't switch to possibly dead buffer in sentinel, João Távora, 2018/05/14
- [elpa] externals/eglot e1d36d2 014/139: Fix some byte-compilation warnings, João Távora, 2018/05/14
- [elpa] externals/eglot 6f6f01d 018/139: Doc fixes,
João Távora <=
- [elpa] externals/eglot 7ec0dcf 029/139: Events buffer uses eglot-mode, source buffers use eglot-editing-mode, João Távora, 2018/05/14
- [elpa] externals/eglot 22dc2f7 034/139: Ready to start fixing flymake integration, João Távora, 2018/05/14
- [elpa] externals/eglot e8f859e 031/139: Rework commands for connecting and reconnecting, João Távora, 2018/05/14
- [elpa] externals/eglot 92bf3a0 038/139: Signal textDocument/didClose, João Távora, 2018/05/14
- [elpa] externals/eglot b511b7d 036/139: Redesign and simplify parser, João Távora, 2018/05/14
- [elpa] externals/eglot 328c7ae 025/139: Auto update mode-line after setting some process properties, João Távora, 2018/05/14
- [elpa] externals/eglot 2b61a3b 048/139: Delete two useless forward declarations, João Távora, 2018/05/14
- [elpa] externals/eglot 88e3655 040/139: Appease checkdoc.el, João Távora, 2018/05/14
- [elpa] externals/eglot c948713 035/139: Auto-reconnect on unexpected connection loss, João Távora, 2018/05/14
- [elpa] externals/eglot 1dc2a9f 021/139: Implement spinners and RLS's window/progress, João Távora, 2018/05/14