preview.nvim/lua
Barrett Ruth 454030ad78 fix(compiler): do not auto-open on one-shot compile
Problem: auto-open fired on :Preview compile, which is a one-shot
build. Users compiling to check for errors or rebuild with the viewer
already open got an unexpected browser/viewer window.

Solution: gate auto-open on not opts.oneshot so it only fires during
toggle/watch mode, where opening the viewer on first compile is the
intended behaviour.
2026-03-04 14:51:14 -05:00
..
preview fix(compiler): do not auto-open on one-shot compile 2026-03-04 14:51:14 -05:00