stevearc / conform.nvim

Lightweight yet powerful formatter plugin for Neovim
MIT License
3.1k stars 163 forks source link

feature request: show messages and progress while formatting #324

Open le4ker opened 7 months ago

le4ker commented 7 months ago

Did you check existing requests?

Describe the feature

Provide LSP messages and progress when formatting buffers.

Provide background

I'm using none-ls (ex null-ls) for formatting, and whenever I format my files I get a nice message in my statusline which I find really helpful since I want to know what my LSP/linter/formatter is doing in the background, and when. I tried to migrate my formatting from none-ls to conform, and this is where I got stuck. This is how my statusline fetches the LSP messages and progress, which is similar to the way I've seen other plugins do it.

https://github.com/stevearc/conform.nvim/assets/1270063/25e00bed-038c-4017-9fe9-8a1799c5b724

What is the significance of this feature?

cannot use this plugin without it

Additional details

I filled the significance above based on my requirements, since I don't want to lose my LSP messages during formating from my statusline 😅