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.
|
||
|---|---|---|
| .. | ||
| commands_spec.lua | ||
| compiler_spec.lua | ||
| diagnostic_spec.lua | ||
| helpers.lua | ||
| init_spec.lua | ||
| minimal_init.lua | ||
| presets_spec.lua | ||