summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Klaver <tomklav@gmail.com>2021-05-25 17:32:38 +0200
committerYoumu <condy0919@gmail.com>2021-05-26 10:34:35 +0800
commit7a2851e648089f45b33ec09c838d63ba52726430 (patch)
treeaf9ee303572ce196bbc99037575130ec258c8afb
parent33bcc7f40c35adbcbb8bb1839b58d9133ee78d55 (diff)
Tide/references mode: Go to reference at cursor
Current implementation seems to only work for the first reference in a file. This patch should fix that.
-rw-r--r--modes/tide/evil-collection-tide.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modes/tide/evil-collection-tide.el b/modes/tide/evil-collection-tide.el
index 04398d4..dd451e4 100644
--- a/modes/tide/evil-collection-tide.el
+++ b/modes/tide/evil-collection-tide.el
@@ -47,7 +47,7 @@
"gk" 'tide-find-previous-reference
(kbd "C-j") 'tide-find-next-reference
(kbd "C-k") 'tide-find-previous-reference
- (kbd "RET") 'tide-goto-reference
+ (kbd "RET") 'tide-goto-line-reference
;; quit
"q" 'quit-window)