feat(nvim): preview on save with tinymist

This commit is contained in:
Barrett Ruth 2026-02-16 23:54:55 -05:00
parent 828352781f
commit 3dc638c827
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 1 additions and 16 deletions

View file

@ -189,18 +189,4 @@ return {
},
event = 'LspAttach',
},
{
'chomosuke/typst-preview.nvim',
ft = 'typst',
version = '1.*',
opts = {
open_cmd = ('%s %%s --new-window'):format(vim.env.BROWSER),
invert_colors = 'auto',
dependencies_bin = {
tinymist = vim.fn.exepath('tinymist'),
websocat = vim.fn.exepath('websocat'),
},
},
keys = { { '<leader>t', '<cmd>TypstPreviewToggle<cr>' } },
},
}