arkav / lualine-lsp-progress

LSP Progress lualine componenet
MIT License
227 stars 18 forks source link

Use vim.lsp.status() #23

Open aktau opened 1 year ago

aktau commented 1 year ago

Saw this flying by, just merged into master: https://github.com/neovim/neovim/pull/20327.

Not sure if this is useful I see the plugin now overrides the progress handler, which I think might impede other plugins from using vim.lsp.status() as lualine-lsp-progress does not call the original handler: https://github.com/arkav/lualine-lsp-progress/blob/56842d097245a08d77912edf5f2a69ba29f275d7/lua/lualine/components/lsp_progress.lua#L130-L143.

The cleanest is probably to somehow use vim.lsp.status() instead of overriding the handler.