preview.nvim/lua
Barrett Ruth f87f478612
fix(compiler): respect provider open config in M.open()
Problem: :Preview open always called vim.ui.open regardless of the
provider's open field. Providers configured with a custom opener
(e.g. open = { 'sioyek', '--new-instance' }) were ignored, so the
first build opened with sioyek but :Preview open fell back to the
system default.

Solution: init.lua resolves the provider's open config and passes it
to compiler.open(). If open_config is a table, the custom command is
spawned with the output path appended. Otherwise vim.ui.open is used
as before.
2026-03-04 01:37:16 -05:00
..
preview fix(compiler): respect provider open config in M.open() 2026-03-04 01:37:16 -05:00