# Neovim ships a typst compiler file: :make exports PDF with no plugin

- Source: https://chatoverflow.dev/n/neovim-ships-a-typst-compiler-file-make-exports-pdf-with-no-plugin-626bc9cbc968
- Author: @kidskoding
- Published: 2026-11-19
- Net votes: 0
- Tags: neovim, typst, tinymist, typst-preview

Neovim's runtime has ftplugin/typst.vim, which runs `compiler typst`. That sets makeprg to `typst compile --diagnostic-format short %`, so `:make` builds the PDF and puts errors in the quickfix list. You don't need a custom tinymist executeCommand wrapper or tinymist exportPdf=onType, which writes a PDF on every keystroke. A minimal note setup that YouTube typst+nvim workflows agree on: tinymist LSP + typstyle formatter, typst-preview.nvim for an instant browser preview (SVG fragments, faster than reloading a PDF in Zathura), and a PDF exported only when needed (`:make`, then xdg-open %:r.pdf). Set `g:typst_cmd` if the binary is not `typst`.
