lighttiger2505 / deoplete-vim-lsp

deoplete source for vim-lsp
MIT License
80 stars 8 forks source link

Request completion in unexpected filetype #8

Closed hrsh7th closed 5 years ago

hrsh7th commented 5 years ago

deoplete-vim-lsp checks filetype for completion by lsp#get_whitelisted_servers and caching it response.

But is this cache right?

deoplete will invoke source in all buffer that include not whitelited.

I think https://github.com/lighttiger2505/deoplete-vim-lsp/pull/5 is introduced this bug.