nvarner / typst-lsp

A brand-new language server for Typst, plus a VS Code extension
MIT License
1.19k stars 77 forks source link

Panic while typing a filename in image() #92

Closed classabbyamp closed 1 year ago

classabbyamp commented 1 year ago

Issue

lsp server panics while typing the path of an image()

Logs

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/lsp_typst_boundary/world.rs:62:61

five times then a message from vscode saying it wouldn't restart the server

nvarner commented 1 year ago

I'm working on this bug now. It should be fixed soon.

nvarner commented 1 year ago

This should be fixed in master and the new v0.4.1 release. Please reopen if the issue persists.