Problem: asciidoctor exits 0 on errors so error_parser never ran. typst, pdflatex, and tectonic had no clean subcommand. auto-open fired on :Preview compile, surprising users who just want a build. Solution: pass --failure-level ERROR in asciidoctor args. Add clean commands to typst (rm pdf), pdflatex (rm pdf/aux/log/synctex.gz), and tectonic (rm pdf). Gate auto-open on not opts.oneshot so it only fires during toggle/watch mode. |
||
|---|---|---|
| .. | ||
| commands_spec.lua | ||
| compiler_spec.lua | ||
| diagnostic_spec.lua | ||
| helpers.lua | ||
| init_spec.lua | ||
| minimal_init.lua | ||
| presets_spec.lua | ||
| reload_spec.lua | ||