Skip to main content

Progress and prose

LSP progress in lualine

Lualine renders native Neovim LspProgress events through a local plugin:

The statusline shows client name, spinner, latest title/message, optional server percentage, and a derived completed-token counter such as (1/1) - done. It replaces lsp-progress.nvim without emitting terminal/tmux OSC progress bars.

Markdown / MDX prose behavior

Markdown and MDX use Prettier with --prose-wrap=preserve so editor formatting does not reflow prose to printWidth. For plain Markdown, ,format-md runs after Prettier and leaves ordinary files unchanged. In recognized AI paths, it preserves authored sentence breaks and joins only plain mid-sentence continuations that fit the soft 140-character boundary. Long lines split at sentence or strong clause boundaries when possible; ambiguous markup retains its existing lines. Markdownlint and Prettier still apply their own formatting before this step.

Relevant files:

Session persistence omits localoptions, and default Neovim viewoptions does not include options, so window/buffer options stay driven by config and filetypes rather than replayed session state.