typst-preview.nvim icon indicating copy to clipboard operation
typst-preview.nvim copied to clipboard

Low latency typst preview for Neovim

Results 24 typst-preview.nvim issues
Sort by recently updated
recently updated
newest added

The browser for me only updates when I write the file (`:w`). I'm relatively new to VIM, so not sure if this is a problem on my side - the...

Currently the `TypstPreview` command will spawn the typst-preview binary with `--static-file-host 127.0.0.1:0`, which will let typst-preview choose a random port. https://github.com/chomosuke/typst-preview.nvim/blob/15eaaffc0a2d8cd871f485f399d1d67ed3322a0b/lua/typst-preview/servers/factory.lua#L30-L31 It would be nice if there's an `port` option...

Hey there! I'm interested in using Typst and am a neovim user, so I found your plugin. I love the idea, but when I run `TypstPreview`, I get the preview...

Steps to reproduce: 1. Bind `jk` to esc with `map jk n j * v:count == 0 ? 'gj' : 'j'` 2. Open a typst document 3. Type anything 4....

Passing `--static-file-host 127.0.0.1:0` as arguments to the typst preview binary will start the preview local server on a random port. This PR adds an option to the config that allows...

:TypstFollowCursor doesn't work. Restarting Neovim always works, but not for long; after 10 minutes and opening some new files, preview doesn't follow cursor again.

After running the command `TypstPreview` the system said: ``` Error executing vim.schedule lua callback: ...typst-preview.nvim/lua/typst-preview/servers/factory. lua:166: attempt to perform arithmetic on local 's' (a nil value) stack traceback: ...typst-preview.nvim/lua/typst-preview/servers/factory.lua:166: in...

Adding `Plug 'chomosuke/typst-preview.nvim', {'tag': 'v0.3.*', do: ':TypstPreviewUpdate'}` to my config causes: ``` E121: Undefined variable: do E116: Invalid arguments for function plug# ``` My solution was to do `Plug 'chomosuke/typst-preview.nvim',...

Normally I want to use the 'auto' mode to invert colors. On some occasions I would like to toggle the active state (inverted/not inverted) manually. Currently I only see the...

[read](https://github.com/chomosuke/typst-preview.nvim/blob/0354cc1a7a5174a2e69cdc21c4db9a3ee18bb20a/lua/typst-preview/servers/factory.lua#L176) is written correctly to handle the case where multiple JSON messages are returned from the Language Server (LS) with new lines as the messages separator. However, as the Typst...