shun / ddc-source-vim-lsp

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

[Bug] Other sources die when language server is stopping #3

Closed kuuote closed 3 years ago

kuuote commented 3 years ago

[Bug] Other sources die when language server is stopping

Description

If you use this plugin with other ddc sources and when language server is stopped, other sources die.

Reproduce Step

  1. Install below plugins.
https://github.com/vim-denops/denops.vim
https://github.com/Shougo/ddc.vim
https://github.com/Shougo/ddc-around
https://github.com/shun/ddc-vim-lsp
https://github.com/prabirshrestha/vim-lsp
https://github.com/mattn/vim-lsp-settings
  1. Write below vimrc.
filetype plugin indent on
syntax on
packloadall! " if install with package

call ddc#custom#patch_global('sources', ['around', 'ddc-vim-lsp'])
call ddc#enable()
  1. Type it.
hoge
hoge

Expected behavior

Shows around text completion at second line.

Environment

Arch Linux Vim 8.2.3346 Deon 1.13.0

shun commented 3 years ago

This issue fixed by this commit 04f86a1a.

Thanks for you report !