diff --git a/lua/lazyvim/plugins/extras/lang/typst.lua b/lua/lazyvim/plugins/extras/lang/typst.lua index 0357d70a..63d8b1ae 100644 --- a/lua/lazyvim/plugins/extras/lang/typst.lua +++ b/lua/lazyvim/plugins/extras/lang/typst.lua @@ -55,6 +55,14 @@ return { build = function() require("typst-preview").update() end, + keys = { + { + "cp", + ft = "typst", + "TypstPreviewToggle", + desc = "Typst Preview", + }, + }, opts = { dependencies_bin = { ["typst-preview"] = "tinymist",