Skip to content

Commit a5e559e

Browse files
committed
[lsp-ui-sideline] Ensure that we're in a visiting buffer #122
1 parent bf69f98 commit a5e559e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lsp-ui-sideline.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ CURRENT is non-nil when the point is on the symbol."
368368
It loops on the symbols of the current line and request information
369369
to the language server."
370370
(lsp-ui-sideline--delete-ov)
371-
(when lsp--cur-workspace
371+
(when (and lsp--cur-workspace
372+
buffer-file-name)
372373
(let ((eol (line-end-position))
373374
(eob (buffer-end 1))
374375
(bol (line-beginning-position))

0 commit comments

Comments
 (0)