Closed ParadaCarleton closed 11 months ago
I have the same problem, here on Windows 11 with VS-Code.
v0.7.0 & 0.7.1 don't work with mason.nvim in Neovim. Only if I type :MasonInstall typst-lsp@v0.6.2
and do CocRestart
(or re-open) it will work. coc.nvim and mason.nvim don't produce any logs that show that typst-lsp server has failed.
Logs
You should enclose long text (code, logs etc.) in <details>
tag (optionally with <summary>
):
<details><summary>Optional name</summary>
< your logs >
</details>
Same problem happening here.
It seems to be caused by missing files in import statements, like #import "missing.typ": *
When I remove the import the problem goes away. It'd be nice to have it more robust.
@nvarner, will the release assets be added later? I wanted to try the new version, but mason
tells me:
Failed to download file "https://github.com/nvarner/typst-lsp/releases/download/v0.7.2/typst-lsp-linux-x64".
@Andrew15-5 if you haven't yet seen, the assets are up now. They get uploaded automatically by GH Actions, which itself is triggered by creating the release, so there's usually a short delay.
Oh, wow, you can even manage assets automatically, I should check it out. Thanks.
mason
only updates to 0.7.1, but 0.7.2 also still doesn't work. (https://github.com/nvarner/typst-lsp/issues/183#issuecomment-1634570927)
I don't know if this is still related to this issue, since I can't get any logs from coc and mason.
Issue
The LSP seems to consistently crash after opening it.
Logs