preview.nvim/lua/preview
Barrett Ruth 08f0b037e0
fix(compiler): preserve viewer_open when viewer process exits
Problem: when `open` is a custom command like `sioyek --instance-name`,
the process exits immediately after delegating to the running instance.
The exit callback reset `viewer_open`, causing every recompile to reopen
the viewer and toggle to reopen instead of stopping.

Solution: stop clearing `viewer_open` in the `do_open` exit callback.
The flag now persists for the watch session and is only reset by
`stop_watching`.
2026-03-15 13:34:39 -04:00
..
commands.lua fix: lifecycle cleanup and defensive runtime checks (#29) 2026-03-04 14:02:16 -05:00
compiler.lua fix(compiler): preserve viewer_open when viewer process exits 2026-03-15 13:34:39 -04:00
diagnostic.lua feat: compile notifications and long-running provider feedback (#55) 2026-03-06 14:58:10 -05:00
health.lua feat: rename watch → toggle, auto-compile on start, built-in opener 2026-03-02 23:37:44 -05:00
init.lua fix: fall back to /tmp for buffers without a backing file (#60) 2026-03-13 08:22:45 -04:00
log.lua feat: rename 2026-03-02 21:23:40 -05:00
presets.lua feat: compile notifications and long-running provider feedback (#55) 2026-03-06 14:58:10 -05:00
reload.lua fix(reload): bind SSE server to port 0 for OS-assigned port (#21) 2026-03-03 17:46:04 -05:00