preview.nvim/spec
Barrett Ruth bf2f4a78e2
feat: add statusline function (#10)
Problem: no way to expose compiling/watching state to statusline
plugins like lualine or heirline without polling status() and
formatting it manually.

Solution: add `require('preview').statusline()` that returns
'compiling', 'watching', or '' for direct use in statusline components.
2026-03-03 13:37:36 -05:00
..
commands_spec.lua feat(commands): add :Preview open subcommand (#6) 2026-03-03 13:37:02 -05:00
compiler_spec.lua feat(commands): add :Preview open subcommand (#6) 2026-03-03 13:37:02 -05:00
diagnostic_spec.lua feat: rename 2026-03-02 21:23:40 -05:00
helpers.lua feat: rename watch → toggle, auto-compile on start, built-in opener 2026-03-02 23:37:44 -05:00
init_spec.lua feat: add statusline function (#10) 2026-03-03 13:37:36 -05:00
minimal_init.lua ci: format 2026-03-01 17:22:59 -05:00
presets_spec.lua refactor(presets): replace xdg-open with vim.ui.open (#7) 2026-03-03 13:37:16 -05:00