preview.nvim/lua/preview
Barrett Ruth b2e89dcf8b
feat(compiler): add configurable error output modes
Problem: all parse errors went to vim.diagnostic with no way to silence
them or route them to the quickfix list. Users wanting quickfix-style
error navigation had no option.

Solution: add an errors field to ProviderConfig accepting false,
'diagnostic' (default), or 'quickfix'. false suppresses error handling
entirely. 'quickfix' converts parsed diagnostics to qflist items
(1-indexed), calls setqflist, and opens the window. On success,
'quickfix' mode clears the qflist the same way 'diagnostic' mode clears
vim.diagnostic.
2026-03-03 14:07:28 -05:00
..
commands.lua feat(commands): add :Preview open subcommand (#6) 2026-03-03 13:37:02 -05:00
compiler.lua feat(compiler): add configurable error output modes 2026-03-03 14:07:28 -05:00
diagnostic.lua fix(presets): correct error parsers for real compiler output 2026-03-03 14:07:00 -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(compiler): add configurable error output modes 2026-03-03 14:07:28 -05:00
log.lua feat: rename 2026-03-02 21:23:40 -05:00
presets.lua fix(presets): correct error parsers for real compiler output 2026-03-03 14:07:00 -05:00