preview.nvim/lua/preview
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.lua feat(commands): add :Preview open subcommand (#6) 2026-03-03 13:37:02 -05:00
compiler.lua feat(commands): add :Preview open subcommand (#6) 2026-03-03 13:37:02 -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