OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.72k stars 168 forks source link

Fix selector clap #757

Closed kit494way closed 2 years ago

kit494way commented 2 years ago

When use vim-clap as selector ui, the list is not updated after the second time.

Once g:clap_provider_* is registered, vim-clap reuses it. Changing g:clap_provider_* does not cause an update of the list displayed by vim-clap. https://github.com/liuchengxu/vim-clap/blob/c1423c928d3fb4df840a85514d1d65054129e23a/autoload/clap.vim#L270-L273

To update the list in vim-clap each time, g:clap_provider_* must be defined only once, and source field must be a function that update the list.

nickspoons commented 2 years ago

Thanks very much!