We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52888ec commit ee259fdCopy full SHA for ee259fd
lsp-ui-sideline.el
@@ -389,7 +389,7 @@ to the language server."
389
(let ((eol (line-end-position))
390
(bol (line-beginning-position))
391
(tag (lsp-ui-sideline--calculate-tag))
392
- (line-widen (line-number-at-pos nil 'absolute))
+ (line-widen (save-restriction (widen) (line-number-at-pos)))
393
(doc-id (lsp--text-document-identifier)))
394
(save-excursion
395
(setq lsp-ui-sideline--occupied-lines nil
0 commit comments