Skip to content

Commit

Permalink
[lsp-ui-sideline] Ensure that we're in a visiting buffer #122
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiencs committed Apr 27, 2018
1 parent bf69f98 commit a5e559e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lsp-ui-sideline.el
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ CURRENT is non-nil when the point is on the symbol."
It loops on the symbols of the current line and request information
to the language server."
(lsp-ui-sideline--delete-ov)
(when lsp--cur-workspace
(when (and lsp--cur-workspace
buffer-file-name)
(let ((eol (line-end-position))
(eob (buffer-end 1))
(bol (line-beginning-position))
Expand Down

0 comments on commit a5e559e

Please sign in to comment.