mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-13 22:29:19 +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()
|
build = function()
|
||||||
require("typst-preview").update()
|
require("typst-preview").update()
|
||||||
end,
|
end,
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>cp",
|
||||||
|
ft = "typst",
|
||||||
|
"<cmd>TypstPreviewToggle<cr>",
|
||||||
|
desc = "Typst Preview",
|
||||||
|
},
|
||||||
|
},
|
||||||
opts = {
|
opts = {
|
||||||
dependencies_bin = {
|
dependencies_bin = {
|
||||||
["typst-preview"] = "tinymist",
|
["typst-preview"] = "tinymist",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue