feat: Adds typst preview toggle to nvim key maps.

This commit is contained in:
2025-04-24 14:11:46 -04:00
parent ecf3e98e25
commit 3041d0a5e5
3 changed files with 14 additions and 1 deletions

View File

@@ -1,6 +1,13 @@
return {
'chomosuke/typst-preview.nvim',
lazy = false, -- or ft = 'typst'
ft = 'typst', -- or ft = 'typst'
version = '1.*',
opts = {}, -- lazy.nvim will implicitly calls `setup {}`
keys = {
{
"<leader>tp",
"<CMD>TypstPreviewToggle<CR>",
desc = "Toggle typst preview."
},
}
}