As mentioned in https://github.com/nvim-lua/lsp-status.nvim/issues/74, this plugin tries to query document symbol even if capable clients are no longer attached current buffer (e.g. due to LSP server error).
This PR tries to fix that by checking first capable LSP client and just query that client or do nothing.
As mentioned in https://github.com/nvim-lua/lsp-status.nvim/issues/74, this plugin tries to query document symbol even if capable clients are no longer attached current buffer (e.g. due to LSP server error). This PR tries to fix that by checking first capable LSP client and just query that client or do nothing.