Servers returned from lsp#get_allowed_servers() do not have to be the completion provider, and the first element of the returned servers, therefore, may not be the completion provider.
This PR collects only servers that are the completion provider and uses one of the servers for the completion.
Servers returned from
lsp#get_allowed_servers()
do not have to be the completion provider, and the first element of the returned servers, therefore, may not be the completion provider.This PR collects only servers that are the completion provider and uses one of the servers for the completion.