Closed stevenxxiu closed 9 months ago
I am also experiencing this.
Same here.
This sounds a bit like https://github.com/Enter-tainer/typst-preview/issues/81, but that should be fixed.
Hi,
Sorry for the late response.
I followed your steps and am unable to reproduce your issue. The preview on my machine updated as soon as I replaced 1
with2
.
Here are my messages, I can not spot any differences except that I have 4 TypstActor
log and you only have 2.
message.txt
This looks like an upstream issue, if you can reproduce the same problem with the VSCode plugin (using the same browser) then please do open an issue in https://github.com/Enter-tainer/typst-preview.
This can also be an browser or OS specific issue. Fyi I uses chrome on Arch.
Hi interesting, it seems to work now. I'm not really sure what I didn't do right before. Here's my config now:
return {
'chomosuke/typst-preview.nvim',
lazy = true,
ft = 'typst',
opts = {
get_root = function(bufnr)
return vim.api.nvim_buf_get_name(bufnr):match('(.*/)')
end,
},
build = function()
require('typst-preview').update()
end,
}
I'm also on Arch Linux, with Vivaldi 6.5.3206.50-1.
Thanks for the plugin!
Hi interesting, it seems to work now. I'm not really sure what I didn't do right before. Here's my config now:
return { 'chomosuke/typst-preview.nvim', lazy = true, ft = 'typst', opts = { get_root = function(bufnr) return vim.api.nvim_buf_get_name(bufnr):match('(.*/)') end, }, build = function() require('typst-preview').update() end, }
I'm also on Arch Linux, with Vivaldi 6.5.3206.50-1.
Thanks for the plugin!
This also fixed it for me - life saver! Have a great day :)
Also working for me now — maybe it's https://github.com/Enter-tainer/typst-preview/pull/212, which fixes https://github.com/Enter-tainer/typst-preview/issues/211?
The first render works, however:
To test:
1
in it.:TypstPreview
. This opens up a browser tab.1
to2
and save.I also tried to have this plugin as my only Lazy plugin, but the same thing occurs.
My config:
My messages.