preview.nvim/lua/preview
Barrett Ruth 859f04e010
refactor(config): replace array preset syntax with preset_name = true
Problem: setup() mixed array entries (preset names) and hash entries
(custom providers keyed by filetype), requiring verbose
vim.tbl_deep_extend boilerplate to override presets.

Solution: unify under a single key=value model. Keys are preset names
or filetypes; true registers the preset as-is, a table deep-merges
with the matching preset (or registers a custom provider if no preset
matches), and false is a no-op. Array entries are dropped. Also adds
-f gfm to presets.github args so pandoc parses input as GFM.
2026-03-03 00:19:48 -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: rename watch → toggle, auto-compile on start, built-in opener 2026-03-02 23:37: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 refactor(config): replace array preset syntax with preset_name = true 2026-03-03 00:19:48 -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 2026-03-03 00:19:48 -05:00