lighttiger2505 / deoplete-vim-lsp

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

Update server names when BufEnter #9

Closed hiroebe closed 5 years ago

hiroebe commented 5 years ago

Currently self.server_names is not updated even after moving onto another buffer which has another filetype. To solve this, lsp#get_whitelisted_servers should be called after BufEnter event.

I think this PR could fix #8.

hrsh7th commented 5 years ago

It works well for me.

lighttiger2505 commented 5 years ago

@hiroebe Thanks for contribute. Completed check and merge.

@hrsh7th Thank you as always.

hiroebe commented 5 years ago

Thanks.