preview.nvim/lua/preview
Barrett Ruth b00b169bf5
feat(compiler): debounce compilation in toggle mode (#8)
Problem: in toggle mode, each BufWritePost immediately spawned a new
compilation, killing any in-flight process. Rapid saves wasted cycles
on compilers like latexmk.

Solution: add a 500ms debounce timer per buffer. The BufWritePost
callback starts/restarts the timer instead of compiling immediately.
Timers are cleaned up on unwatch and BufWipeout.
2026-03-03 13:42:44 -05:00
..
commands.lua feat(commands): add :Preview open subcommand (#6) 2026-03-03 13:37:02 -05:00
compiler.lua feat(compiler): debounce compilation in toggle mode (#8) 2026-03-03 13:42:44 -05:00
diagnostic.lua feat: rename 2026-03-02 21:23:40 -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 feat: add statusline function (#10) 2026-03-03 13:37:36 -05:00
log.lua feat: rename 2026-03-02 21:23:40 -05:00
presets.lua refactor(presets): replace xdg-open with vim.ui.open (#7) 2026-03-03 13:37:16 -05:00