We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd0e54 commit 192c8f5Copy full SHA for 192c8f5
lsp-treemacs.el
@@ -248,6 +248,12 @@ this hook will be run after having jumped to the target."
248
(goto-char (lsp--position-to-point location))
249
(run-hooks 'lsp-treemacs-after-jump-hook))
250
251
+(lsp-treemacs-define-action lsp-treemacs-go-to (:uri :position)
252
+ "Goto POSITION in URL."
253
+ (lsp-treemacs--open-file-in-mru (lsp--uri-to-path uri))
254
+ (goto-char (lsp--position-to-point position))
255
+ (run-hooks 'xref-after-jump-hook))
256
+
257
(defun lsp-treemacs--symbols->tree (items parent-key)
258
"Convert ITEMS and PARENT-KEY to a treemacs tree."
259
(-sort (lambda (left right)
0 commit comments