preview.nvim/lua/preview
Barrett Ruth acc4dfc850
feat(compiler): debounce compilation in toggle mode
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:33:13 -05:00
..
commands.lua feat: rename watch → toggle, auto-compile on start, built-in opener 2026-03-02 23:37:44 -05:00
compiler.lua feat(compiler): debounce compilation in toggle mode 2026-03-03 13:33:13 -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 refactor(config): replace array preset syntax with preset_name = true (#3) 2026-03-03 00:25:49 -05:00
log.lua feat: rename 2026-03-02 21:23:40 -05:00
presets.lua refactor(config): replace array preset syntax with preset_name = true (#3) 2026-03-03 00:25:49 -05:00