Nathan Varner
Nathan Varner
There's a PR that was also experimenting with this (#60). Someone there mentioned Base64 as well, and someone considered putting the Typst compiler into WASM and embedding it into the...
Using websockets is an interesting idea. I haven't tried serving over two interfaces from the same binary, but if it's possible, that may make the most sense.
I'm wondering about shared memory now. I worry about portability and fragility (so a websocket/base64 backup would be needed), but that would probably minimize the overhead.
Were you on 0.7 or earlier before updating to 0.9? If so, I think this is an (admittedly inconvenient) intentional behavior of Typst to keep files from importing other files...
Can you follow the note from the logs and run with `RUST_BACKTRACE=1` for more debugging info? I have some guesses, but that should narrow it down a lot.
This is almost certainly an encoding issue. See [this article](https://fasterthanli.me/articles/the-bottom-emoji-breaks-rust-analyzer) for technical details if you're curious. What version of Emacs are you using? You're probably working in a document that...
I've done similar research and come to similar conclusions, and I have started work on this in the [`readd-textmate`](https://github.com/nvarner/typst-lsp/tree/readd-textmate) branch. In particular, I've been writing a new textmate grammar based...
I like your suggested approach. I think it's best to keep the Typst Language Support extension within this repository, since it will likely be closely related to the LSP extension....
This is looking like a good change. I'm a little wary of searching fonts every time configuration changes, since it's so easy to trigger -- though that can be partially...
@PgBiel I see now that the searching will run in its own async task. However, it looks like the search is done synchronously, so it will block the executor, so...