{"repo":"barrettruth/preview.nvim","free":true,"listed":false,"github":"https://github.com/barrettruth/preview.nvim","clone":"git clone https://github.com/barrettruth/preview.nvim.git","description":"[mirror of forge.barrettruth.com/barrettruth/preview.nvim] universal previewer for neovim","language":"Lua","stars":67,"topics":["markdown","neovim","neovim-plugin","preview","mirror"],"license":"GPL-3.0","category":"productivity","readme_excerpt":"preview.nvim Universal previewer for Neovim An extensible framework for compiling and previewing any documents (LaTeX, Typst, Markdown, etc.)&mdash;diagnostics included. [!NOTE] Due to GitHub's historic unreliability, active development is hosted on Forgejo. GitHub is maintained as a read-only mirror. See :help preview-migration to optionally update your plugin source configuration. Features - Async compilation via vim.system() - Built-in presets for Typst, LaTeX (latexmk, pdflatex, tectonic), Markdown, GitHub-flavored Markdown, AsciiDoc, PlantUML, Mermaid, and Quarto - Compiler errors via vim.diagnostic or quickfix - Full compiler output via :Preview output - Previewer auto-close on buffer deletion Requirements - Neovim 0.11+ Installation With vim.pack (Neovim 0.12+): Or via luarocks: Quick Start Enable exactly the providers you need before preview.nvim loads. Open a Typst document and start the watch preview from that buffer. When you only need a single build, run the compile subcommand instead of starting the watcher. If a compile fails, inspect the raw compiler log after checking diagnostics or quickfix. After a successful build, reopen the last artifact without recompiling. Documentation FAQ Q: How do I define a custom provider? Q: How do I override a preset? Q: How do I automatically open the output file? Set open = true on your provider (all built-in presets have this enabled) to open the output with vim.ui.open() after the first successful compilation in toggle/watch ","default_branch":null,"files":null,"tree":[],"storefront":"/r/barrettruth","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/barrettruth/preview.nvim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}