preview.nvim/lua/preview
Barrett Ruth 7a7c407d97
refactor: rename build to compile and watch to toggle in public API
Problem: the code used build/watch while the help file already
documented compile/toggle, creating a confusing mismatch.

Solution: rename M.build() to M.compile() and M.watch() to M.toggle()
in init.lua, update handler keys in commands.lua, and update the test
file to match.
2026-03-04 13:10:34 -05:00
..
commands.lua refactor: rename build to compile and watch to toggle in public API 2026-03-04 13:10:34 -05:00
compiler.lua fix(compiler): one-shot builds and :Preview open provider config (#25) 2026-03-04 02:18:28 -05:00
diagnostic.lua fix(presets): correct error parsers for real compiler output (#11) 2026-03-03 14:14:59 -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 refactor: rename build to compile and watch to toggle in public API 2026-03-04 13:10:34 -05:00
log.lua feat: rename 2026-03-02 21:23:40 -05:00
presets.lua feat: unified reload field for live-preview (SSE + long-running watch) (#19) 2026-03-03 16:41:47 -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