[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 1.3 0f74616 07/26: Touch up last commit
From: |
Christian Johansson |
Subject: |
[elpa] 1.3 0f74616 07/26: Touch up last commit |
Date: |
Thu, 29 Apr 2021 15:09:13 -0400 (EDT) |
tag: 1.3
commit 0f74616a0506c25456450788916bb494f2efa831
Author: Michał Krzywkowski <k.michal@zoho.com>
Commit: Michał Krzywkowski <k.michal@zoho.com>
Touch up last commit
* eglot.el (eglot-current-column): Rename from eglot--current-column.
(eglot-current-column-function): Use it as value and mention in docstring.
(eglot--xref-make): Use eglot-current-column.
---
eglot.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/eglot.el b/eglot.el
index 94de8d1..2519189 100644
--- a/eglot.el
+++ b/eglot.el
@@ -811,16 +811,16 @@ CONNECT-ARGS are passed as additional arguments to
(let ((warning-minimum-level :error))
(display-warning 'eglot (apply #'format format args) :warning)))
-(defun eglot--current-column () (- (point) (point-at-bol)))
+(defun eglot-current-column () (- (point) (point-at-bol)))
-(defvar eglot-current-column-function #'eglot--current-column
+(defvar eglot-current-column-function #'eglot-current-column
"Function to calculate the current column.
This is the inverse operation of
`eglot-move-to-column-function' (which see). It is a function of
no arguments returning a column number. For buffers managed by
fully LSP-compliant servers, this should be set to
-`eglot-lsp-abiding-column', and `current-column' (the default)
+`eglot-lsp-abiding-column', and `eglot-current-column' (the default)
for all others.")
(defun eglot-lsp-abiding-column ()
@@ -1506,7 +1506,7 @@ Try to visit the target file for a richer summary line."
(substring (buffer-substring bol
(point-at-eol))))
(add-face-text-property (- beg bol) (- end bol) 'highlight
t substring)
- (list substring (1+ (current-line))
(eglot--current-column))))))
+ (list substring (1+ (current-line))
(eglot-current-column))))))
(`(,summary ,line ,column)
(cond
(visiting (with-current-buffer visiting (funcall collect)))
- [elpa] 1.3 bad07bd 01/26: Per #144, #156: control strictness towards incoming LSP messages, (continued)
- [elpa] 1.3 bad07bd 01/26: Per #144, #156: control strictness towards incoming LSP messages, Christian Johansson, 2021/04/29
- [elpa] 1.3 591210f 13/26: Close #173: support completionContext to help servers like ccls, Christian Johansson, 2021/04/29
- [elpa] 1.3 8829655 10/26: Per #171,#156: Introduce eglot--dcase, Christian Johansson, 2021/04/29
- [elpa] 1.3 245493c 23/26: Handle array params to server notification or requests, Christian Johansson, 2021/04/29
- [elpa] 1.3 1a45d87 03/26: Revert "Fix #164: CodeAction command can be a Command object (#165)", Christian Johansson, 2021/04/29
- [elpa] 1.3 a653dcb 04/26: Fix #52: Use entire line as xref summary when available, Christian Johansson, 2021/04/29
- [elpa] 1.3 dadc5a2 15/26: Fix #159: Properly clear old diagnostics when making new ones, Christian Johansson, 2021/04/29
- [elpa] 1.3 e22d4d3 09/26: Simplify interface of eglot--dbind macro, Christian Johansson, 2021/04/29
- [elpa] 1.3 8c71a1a 18/26: Per #173: fix bug introduced by previous fix, Christian Johansson, 2021/04/29
- [elpa] 1.3 84a271c 08/26: Robustify tests against (M)ELPA eglot installations, Christian Johansson, 2021/04/29
- [elpa] 1.3 0f74616 07/26: Touch up last commit,
Christian Johansson <=
- [elpa] 1.3 dc84ff6 06/26: * eglot.el (eglot--current-column): New helper., Christian Johansson, 2021/04/29
- [elpa] 1.3 5595a75 12/26: Fix #116, #150: don't break in indirect buffers, Christian Johansson, 2021/04/29
- [elpa] 1.3 72e06ea 14/26: Use javascript-typescript-langserver for typescript-mode (#174), Christian Johansson, 2021/04/29
- [elpa] 1.3 4fbbe9c 19/26: Per #173: adjust previous fix, Christian Johansson, 2021/04/29
- [elpa] 1.3 8a2008f 21/26: Warn about suspicious interface usage at compile-time, Christian Johansson, 2021/04/29
- [elpa] 1.3 3082a85 02/26: Fix #164: CodeAction command can be a Command object (#165), Christian Johansson, 2021/04/29
- [elpa] 1.3 7d41833 05/26: Per #52, #127: Improve performance of xref summary line collection, Christian Johansson, 2021/04/29
- [elpa] 1.3 9e7f370 11/26: Use eglot--dbind for destructuring, Christian Johansson, 2021/04/29
- [elpa] 1.3 c3d2000 26/26: * eglot.el (Version): Bump to 1.3, Christian Johansson, 2021/04/29
- [elpa] 1.3 dfa648d 24/26: Be lenient by default to unknown methods or notifications, Christian Johansson, 2021/04/29