feat(plugins): Add typst-preview

This commit is contained in:
2025-08-19 10:45:38 +02:00
parent a35efc9fcf
commit 59f670d673
3 changed files with 12 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ vim.api.nvim_create_autocmd("FileType", {
pattern = { "typst" },
group = typstgroup,
callback = function()
vim.keymap.set('', '<LocalLeader>mp', ':TypstWatch<CR>', { noremap = true, silent = true, desc = "[M]ake [P]review" })
vim.keymap.set('', '<LocalLeader>mp', ':TypstPreview<CR>', { noremap = true, silent = true, desc = "[M]ake [P]review" })
vim.o.spell = true
spell_keymap()
vim.o.spelllang = "fr,en"