tweekmonster / deoplete-clang2

MIT License
90 stars 17 forks source link

Make plugin only work in Neovim #1

Closed mhinz closed 7 years ago

mhinz commented 7 years ago

This is merely a suggestion, since deoplete is Neovim-only anyway.

Without this you would get this in Vim:

Error detected while processing /Users/mhi/.vim/bundle/deoplete-clang2/plugin/clang2.vim:
line    6:
E117: Unknown function: remote#host#PluginsForHost
E116: Invalid arguments for function empty(remote#host#PluginsForHost('clang2-rplugin'))
E15: Invalid expression: empty(remote#host#PluginsForHost('clang2-rplugin'))
tweekmonster commented 7 years ago

Makes sense, thanks!