mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-05 02:24:34 +02:00
fix(typst): prevent redundant download of tinymist binary in typst-preview
This commit is contained in:
parent
1ea189f9bb
commit
4a7e80c4aa
1 changed files with 4 additions and 2 deletions
|
@ -38,8 +38,10 @@ return {
|
|||
{
|
||||
"chomosuke/typst-preview.nvim",
|
||||
cmd = { "TypstPreview", "TypstPreviewToggle", "TypstPreviewUpdate" },
|
||||
build = function()
|
||||
require("typst-preview").update()
|
||||
build = function(plugin)
|
||||
local typst_preview = require("typst-preview")
|
||||
typst_preview.setup(plugin.opts)
|
||||
typst_preview.update()
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue