[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/xref-find-extra 93ee5cd076e 7/7: Use the renamed 'xref-find-all-
From: |
Dmitry Gutov |
Subject: |
feature/xref-find-extra 93ee5cd076e 7/7: Use the renamed 'xref-find-all-definitions' in Eglot |
Date: |
Fri, 24 Nov 2023 21:13:01 -0500 (EST) |
branch: feature/xref-find-extra
commit 93ee5cd076e716936e002889b3f4bf676c478ba7
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
Use the renamed 'xref-find-all-definitions' in Eglot
* lisp/progmodes/eglot.el (eglot-find-declaration)
(eglot-find-implementation, eglot-find-typeDefinition):
Use the renamed 'xref-find-all-definitions'.
---
lisp/progmodes/eglot.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 222a4e72103..65bee6118a2 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -2957,17 +2957,17 @@ If BUFFER, switch to it before."
(defun eglot-find-declaration ()
"Find declaration for SYM, the identifier at point."
(interactive)
- (xref-find-extra "LSP identifier at point" 'eglot--xref-declaration))
+ (xref-find-all-definitions "LSP identifier at point"
'eglot--xref-declaration))
(defun eglot-find-implementation ()
"Find implementation for SYM, the identifier at point."
(interactive)
- (xref-find-extra "LSP identifier at point" 'eglot--xref-implementation))
+ (xref-find-all-definitions "LSP identifier at point"
'eglot--xref-implementation))
(defun eglot-find-typeDefinition ()
"Find type definition for SYM, the identifier at point."
(interactive)
- (xref-find-extra "LSP identifier at point" 'eglot--xref-type-definition))
+ (xref-find-all-definitions "LSP identifier at point"
'eglot--xref-type-definition))
(cl-defmethod xref-backend-definitions ((_backend (eql eglot)) identifier)
(let ((probe (eglot--recover-workspace-symbol-meta identifier)))
- branch feature/xref-find-extra created (now 93ee5cd076e), Dmitry Gutov, 2023/11/24
- feature/xref-find-extra 1de548833d2 5/7: Rename xref-find-definitions-by-kind to xref-find-all-definitions, Dmitry Gutov, 2023/11/24
- feature/xref-find-extra 55f2657ca4b 6/7: Add per-kind commands with bindings, Dmitry Gutov, 2023/11/24
- feature/xref-find-extra 279203199a2 3/7: Eglot: use new xref-find-extra feature of Xref, Dmitry Gutov, 2023/11/24
- feature/xref-find-extra 963ccb4a1fe 2/7: Xref: make xref-find-extra useful for non-interactive use, Dmitry Gutov, 2023/11/24
- feature/xref-find-extra 26121b4c49a 1/7: Xref: add xref-find-extra command, Dmitry Gutov, 2023/11/24
- feature/xref-find-extra 49c435914e4 4/7: Rename the xref-backend-extra-* methods to use the term definition, Dmitry Gutov, 2023/11/24
- feature/xref-find-extra 93ee5cd076e 7/7: Use the renamed 'xref-find-all-definitions' in Eglot,
Dmitry Gutov <=