shun / ddc-source-vim-lsp

vim-lsp source for ddc.vim
MIT License
44 stars 13 forks source link

use only a server that is the completion provider #12

Closed blyoa closed 2 years ago

blyoa commented 2 years ago

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.

shun commented 2 years ago

Sorry, late feedback. Let me check this.

shun commented 2 years ago

Thanks, Let's merge !