add open cmd to typst-preview

This commit is contained in:
Noa Aarts 2025-11-18 09:45:33 +01:00
parent c4a1f6b9a3
commit def11997a8
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -492,6 +492,10 @@ require("lazy").setup({
}, },
{ {
'chomosuke/typst-preview.nvim', 'chomosuke/typst-preview.nvim',
opts = {
open_cmd = 'firefox %s -P typst-preview --class typst-preview',
port = 28282,
},
ft = 'typst', ft = 'typst',
branch = "master", branch = "master",
build = function() require 'typst-preview'.update() end, build = function() require 'typst-preview'.update() end,