From e6f6db26675a7d26ea00d17a709c1b8b961addd3 Mon Sep 17 00:00:00 2001 From: Vo Quang chien Date: Wed, 20 Nov 2024 09:25:53 +0700 Subject: [PATCH] fix(typst): remove `build` for `typst-preview` plugin now downloads binaries during setup --- lua/lazyvim/plugins/extras/lang/typst.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lua/lazyvim/plugins/extras/lang/typst.lua b/lua/lazyvim/plugins/extras/lang/typst.lua index ffdc6228..b174deb0 100644 --- a/lua/lazyvim/plugins/extras/lang/typst.lua +++ b/lua/lazyvim/plugins/extras/lang/typst.lua @@ -39,11 +39,6 @@ return { { "chomosuke/typst-preview.nvim", cmd = { "TypstPreview", "TypstPreviewToggle", "TypstPreviewUpdate" }, - build = function(plugin) - local typst_preview = require("typst-preview") - typst_preview.setup(plugin.opts) -- Setup preview during build to avoid redundant downloads - typst_preview.update() - end, keys = { { "cp",