[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 1.2 2d3c391 007/101: Close #48: be less verbose when using eglot-
From: |
Christian Johansson |
Subject: |
[elpa] 1.2 2d3c391 007/101: Close #48: be less verbose when using eglot-ensure |
Date: |
Thu, 29 Apr 2021 15:08:50 -0400 (EDT) |
tag: 1.2
commit 2d3c3910d30d253a99cfb2b8a11aab32579c16e4
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Close #48: be less verbose when using eglot-ensure
* eglot.el (eglot-ensure): Don't message when a buffer is already
managed.
---
eglot.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/eglot.el b/eglot.el
index 77f370e..695db49 100644
--- a/eglot.el
+++ b/eglot.el
@@ -137,7 +137,7 @@ lasted more than that many seconds."
:type '(choice (boolean :tag "Whether to inhibit autoreconnection")
(integer :tag "Number of seconds")))
-
+
;;; API (WORK-IN-PROGRESS!)
;;;
(cl-defmacro eglot--with-live-buffer (buf &rest body)
@@ -225,7 +225,7 @@ lasted more than that many seconds."
:documentation
"Represents a server. Wraps a process for LSP communication.")
-
+
;;; Process management
(defvar eglot--servers-by-project (make-hash-table :test #'equal)
"Keys are projects. Values are lists of processes.")
@@ -417,9 +417,7 @@ INTERACTIVE is t if called interactively."
()
(remove-hook 'post-command-hook #'maybe-connect nil)
(eglot--with-live-buffer buffer
- (if eglot--managed-mode
- (eglot--message "Buffer is already managed by existing `%s'"
- (eglot--project-nickname
(eglot--current-server)))
+ (unless eglot--managed-mode
(let ((server (apply #'eglot--connect (eglot--guess-contact))))
(eglot--message
"Automatically started `%s' to manage `%s' buffers in project
`%s'"
- [elpa] 1.2 ba9877f 048/101: Close #86: Handle case when :textDocumentSync isn't a number, (continued)
- [elpa] 1.2 ba9877f 048/101: Close #86: Handle case when :textDocumentSync isn't a number, Christian Johansson, 2021/04/29
- [elpa] 1.2 6788dbc 074/101: Don't ignore unknown SymbolKinds in imenu, Christian Johansson, 2021/04/29
- [elpa] 1.2 9bf41be 076/101: Larger margin for printing test failure backtraces, Christian Johansson, 2021/04/29
- [elpa] 1.2 4550c08 077/101: Re-enable eclipse-jdt tests, Christian Johansson, 2021/04/29
- [elpa] 1.2 e866ca5 079/101: Use the container name of a symbol in imenu, Christian Johansson, 2021/04/29
- [elpa] 1.2 065f71a 080/101: Add support for code action literals, Christian Johansson, 2021/04/29
- [elpa] 1.2 7f8465c 025/101: Add a generic eglot-execute-command API, Christian Johansson, 2021/04/29
- [elpa] 1.2 d0ec044 041/101: Add go-langserver (#74), Christian Johansson, 2021/04/29
- [elpa] 1.2 6cbfdda 057/101: Make eglot-ignored-server-capabilites more user-friendly (#126), Christian Johansson, 2021/04/29
- [elpa] 1.2 d54e494 046/101: Ignore extra keys in textDocument/publishDiagnostics (#81), Christian Johansson, 2021/04/29
- [elpa] 1.2 2d3c391 007/101: Close #48: be less verbose when using eglot-ensure,
Christian Johansson <=
- [elpa] 1.2 9c2fd8c 002/101: Close #44: Robustify in the face of manual mode changes, Christian Johansson, 2021/04/29
- [elpa] 1.2 4d80eeb 015/101: Default eglot-handle-notifictiona|request must &allow-other-keys, Christian Johansson, 2021/04/29
- [elpa] 1.2 d2faf6d 001/101: Close #29: Implement workspace/didChangeConfiguration (#40), Christian Johansson, 2021/04/29
- [elpa] 1.2 5aea589 013/101: Close #58: Erase company-doc buffer in between doc requests, Christian Johansson, 2021/04/29
- [elpa] 1.2 5707785 024/101: * eglot.el (eglot-cquery): Capitalize docstring., Christian Johansson, 2021/04/29
- [elpa] 1.2 6067ec6 023/101: Minor fixes to test infrastructure, Christian Johansson, 2021/04/29
- [elpa] 1.2 13b8c61 040/101: Per #74: Don't error if server replies with empty hover message, Christian Johansson, 2021/04/29
- [elpa] 1.2 53c8f59 059/101: Handle case when diagnostic :character is out of range, Christian Johansson, 2021/04/29
- [elpa] 1.2 1408860 052/101: Close #94: Prefer ccls over cquery for C/C++, Christian Johansson, 2021/04/29
- [elpa] 1.2 a1e8946 045/101: Close #80: Consider :triggerCharacters in company completion, Christian Johansson, 2021/04/29