mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-04 10:05:06 +02:00
feat(typst): add Typst preview keymap to typst-preview.nvim
Co-authored-by: Jose Storopoli <jose@storopoli.io>
This commit is contained in:
parent
f67fe0319b
commit
f498290e11
1 changed files with 8 additions and 0 deletions
|
@ -55,6 +55,14 @@ return {
|
|||
build = function()
|
||||
require("typst-preview").update()
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<leader>cp",
|
||||
ft = "typst",
|
||||
"<cmd>TypstPreviewToggle<cr>",
|
||||
desc = "Typst Preview",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
dependencies_bin = {
|
||||
["typst-preview"] = "tinymist",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue