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 4b87e72 commit 7db060aCopy full SHA for 7db060a
lsp-mode.el
@@ -5159,11 +5159,12 @@ identifier and the position respectively."
5159
(max (min end-char len) 0)
5160
'xref-match t line)
5161
;; LINE is nil when FILENAME is not being current visited by any buffer.
5162
- (xref-make (or line filename)
+ (xref-make-match (or line filename)
5163
(xref-make-file-location
5164
filename
5165
(lsp-translate-line (1+ start-line))
5166
- (lsp-translate-column start-char)))))
+ (lsp-translate-column start-char))
5167
+ (- end-char start-char))))
5168
5169
(defun lsp--location-uri (loc)
5170
(if (lsp-location? loc)
0 commit comments