WhoIsSethDaniel / lualine-lsp-progress.nvim

LSP progress lualine component
MIT License
62 stars 2 forks source link

allow for time limit for attached (or 'initializing') messages #12

Closed WhoIsSethDaniel closed 1 year ago

WhoIsSethDaniel commented 1 year ago

A while back I accepted #4. The idea was sound but the implementation was lacking. As a (hopefully) final fix to that PR allow for a time limit for these messages.

Currently any LSP server that does not emit status messages will be stuck in 'initializing...' forever. If a time limit is implemented it will not be required for users to place such servers in the hide configuration list.

By default the time limit should be 3 seconds. This should be configurable just as other time limits are. If the time limit is set to zero, or is nil, than there is no time limit.