noice.nvim
noice.nvim copied to clipboard
allow progress notification without real lsp
This is a try to support #682
example:
local noice_progress = require('noice.lsp.progress')
-- provide a fake lsp client name
local client_name = 'stylua'
-- begin the progress notification with no percentage
local msg_id = noice_progress.progress_msg(client_name, {title = 'check ..'})
-- update the progress message
noice_progress.progress_msg(client_name, {title = 'format ..', percentage = 40, id = msg_id})
-- once operation is done, use the `msg_id` to finish the progress
noice_progress.progress_msg_end(msg_id)
@folke Hello, This PR has been there for quite some time, just wanted to kindly remind you of its existence.
This is an effort to implement the feature in #682, which allow progress message for external tools without a lsp server. As I think this could be helpful, would you like to spare some time to have a review, I would really appreciate any feedback you might have.
A polite ping, just rebased, the code should be fine with no obscure logic. If there are any concerns, please tell, and I'll check whether there be any things I can do
This PR is stale because it has been open 30 days with no activity.