docs: pre-release polish

Update README preset list to include pdflatex, tectonic, asciidoctor,
and quarto. Fix custom provider FAQ example to use a non-preset key.
Clarify open field fires on toggle/watch mode only, not :Preview compile.
Expand intro to mention AsciiDoc and Quarto alongside existing tools.
This commit is contained in:
Barrett Ruth 2026-03-04 15:01:04 -05:00
parent 68e2e82232
commit 9260eaf8af
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 14 additions and 12 deletions

View file

@ -10,8 +10,9 @@ preview.nvim is an extensible framework for compiling documents asynchronously
in Neovim. It provides a unified interface for any compilation workflow —
LaTeX, Typst, Markdown, or anything else with a CLI compiler.
The plugin ships with opt-in presets for common tools (Typst, LaTeX, Pandoc)
and supports fully custom providers. See |preview.nvim-presets|.
The plugin ships with opt-in presets for common tools (Typst, LaTeX, Pandoc,
AsciiDoc, Quarto) and supports fully custom providers.
See |preview.nvim-presets|.
==============================================================================
REQUIREMENTS *preview.nvim-requirements*
@ -89,9 +90,10 @@ Provider fields:~
|preview.Context|.
`open` boolean|string[] Open the output file after the first
successful compilation. `true` uses
|vim.ui.open()|. A string[] is run as
a command with the output path appended.
successful compilation in toggle/watch
mode. `true` uses |vim.ui.open()|. A
string[] is run as a command with the
output path appended.
`reload` boolean|string[]|function
Reload the output after recompilation.