Skip to content

Commit d3859f0

Browse files
committed
[lsp-ui-sideline] Fix conflicts from last merge
1 parent 4933050 commit d3859f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lsp-ui-sideline.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ to the language server."
388388
buffer-file-name)
389389
(let ((eol (line-end-position))
390390
(bol (line-beginning-position))
391-
(line (line-number-at-pos))
391+
(tag (lsp-ui-sideline--calculate-tag))
392392
(line-widen (save-excursion (widen) (line-number-at-pos)))
393393
(doc-id (lsp--text-document-identifier)))
394394
(save-excursion
@@ -424,14 +424,14 @@ to the language server."
424424
(outside-comment (eq (nth 4 parsing-state) nil)))
425425
;; Skip strings and comments
426426
(when (and symbol (not in-string) outside-comment)
427-
(push (list symbol line bounds (lsp--position (1- line-widen) (lsp--cur-column))) symbols))))
427+
(push (list symbol tag bounds (lsp--position (1- line-widen) (lsp--cur-column))) symbols))))
428428
(dolist (entry symbols)
429-
(-let [(symbol line bounds position) entry]
429+
(-let [(symbol tag bounds position) entry]
430430
(lsp--send-request-async
431431
(lsp--make-request
432432
"textDocument/hover"
433433
(list :textDocument doc-id :position position))
434-
(lambda (info) (if info (lsp-ui-sideline--push-info symbol line bounds info))))))))))))
434+
(lambda (info) (if info (lsp-ui-sideline--push-info symbol tag bounds info))))))))))))
435435

436436
(defun lsp-ui-sideline--stop-p ()
437437
"Return non-nil if the sideline should not be display."

0 commit comments

Comments
 (0)