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 32ddf3e commit f3cc067Copy full SHA for f3cc067
phpactor-xref.el
@@ -62,7 +62,7 @@ which is really sub optimal."
62
63
(defun phpactor-xref--make-xref (candidate)
64
"Return a new Xref object built from CANDIDATE."
65
- (xref-make (map-elt candidate 'file)
+ (xref-make (map-elt candidate 'match)
66
(xref-make-file-location (map-elt candidate 'file)
67
(map-elt candidate 'line)
68
(map-elt candidate 'col))))
@@ -79,6 +79,7 @@ which is really sub optimal."
79
(push (list (cons 'file path)
80
(cons 'line (plist-get reference :line_no))
81
(cons 'col (plist-get reference :col_no))
82
+ (cons 'match (plist-get reference :line))
83
;; (cons 'symbol symbol)
84
;; (cons 'match match)
85
)
0 commit comments