roxma / nvim-completion-manager

:warning: PLEASE USE https://github.com/ncm2/ncm2 INSTEAD
MIT License
917 stars 49 forks source link

Have JS using LanguageServer (as the one you already did for PHP) ? #73

Closed charliesbot closed 7 years ago

charliesbot commented 7 years ago

Would be great to have that plugin instead of the tern one for javascript :)

roxma commented 7 years ago

nvim-cm-tern is not using LanguageServer. It's a wrapper for ternjs.

The php plugin I wrote almost did nothing. It's simply a php.vim and composer.json (like package.json in nodejs). The only reason for this plugin is for easier installation of the language server.

https://github.com/roxma/LanguageServer-php-neovim/blob/master/ftplugin/php.vim https://github.com/roxma/LanguageServer-php-neovim/blob/master/composer.json

I think you may create simillar plugin for you own need.

charliesbot commented 7 years ago

oh, ok. Can I ask you further things about its implementation? I think I can do the same trick for javascript.

roxma commented 7 years ago

Sure, feel free to ask.

roxma commented 7 years ago

Close but open for futher discussion.