ported the lua, port is complete, I think.

This commit is contained in:
Gabe Venberg 2026-03-13 15:47:42 +01:00
parent 7c9d33f7bb
commit 24a7f2cda3
26 changed files with 810 additions and 868 deletions

View file

@ -0,0 +1,14 @@
return {
"typst-preview.nvim",
for_cat = "typst",
ft = "typst",
cmd = { "TypstPreview", "TypstPreviewStop", "TypstPreviewToggle", },
keys = {
{ "<leader>ptp", "<cmd>TypstPreview <CR>", mode = { "n" }, noremap = true, desc = "typst preview" },
{ "<leader>pts", "<cmd>TypstPreviewStop <CR>", mode = { "n" }, noremap = true, desc = "typst preview stop" },
{ "<leader>ptt", "<cmd>TypstPreviewToggle <CR>", mode = { "n" }, noremap = true, desc = "typst preview toggle" },
},
after = function()
require('typst-preview').setup {}
end
}