Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp-ui-sideline errors out when in a buffer not backed by a file #122

Closed
Fuco1 opened this issue Apr 23, 2018 · 1 comment
Closed

lsp-ui-sideline errors out when in a buffer not backed by a file #122

Fuco1 opened this issue Apr 23, 2018 · 1 comment

Comments

@Fuco1
Copy link

Fuco1 commented Apr 23, 2018

I check out a previous revision of a file with magit, that creates a file such as foobar.txt~hash~ in which buffer-file-name is nil. Then something calls file-truename on this and it breaks.

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  file-truename(nil)
  lsp-ui-sideline--run()
  apply(lsp-ui-sideline--run nil)
  timer-event-handler([t 0 0 200000 nil lsp-ui-sideline--run nil idle 0])
@sebastiencs
Copy link
Member

Thanks, it should be fixed in a5e559e

@brotzeit brotzeit closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants