diff --git a/dumb-jump.el b/dumb-jump.el index 85dea7e..be3ffe8 100644 --- a/dumb-jump.el +++ b/dumb-jump.el @@ -2229,7 +2229,15 @@ of project configuration." cur-line-num parse-fn generate-fn) search-paths)) - (results (delete-dups (--map (plist-put it :target look-for) raw-results)))) + (tramp-path-prefix (or (file-remote-p default-directory) "")) + + (results (delete-dups + (--map + (progn + (plist-put it :target look-for) + (plist-put it :path + (concat tramp-path-prefix (plist-get it :path)))) + raw-results)))) `(:results ,results :lang ,(if (null lang) "" lang) :symbol ,look-for :ctx-type ,(if (null ctx-type) "" ctx-type) :file ,cur-file :root ,proj-root)))