preview.nvim/lua
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
..
preview refactor: rename build to compile and watch to toggle in public API 2026-03-04 13:10:34 -05:00