Prerequisites: You must have the node executable (currently only 7.x is supported) on your PATH and a copy of npm
- Install this plugin using
vim-plugor your favorite plugin manager - Install
neovimpackage globally:npm install -g neovim
call plug#begin()
Plug 'billyvg/node-host', { 'do': 'npm install -g neovim' }
call plug#end()To use a Node plugin, place the appropriate file or folder in rplugin/node in a runtimepath directory (e.g. ~/.nvim/rplugin/node), run npm install if necessary, and then execute a :UpdateRemotePlugins.
You must restart neovim after a :UpdateRemotePlugins before you can use your new plugin.
A plugin can either be a file or folder in the rplugin/node directory. If the plugin is a folder, the main script from package.json will be loaded.
Please see the neovim repository for documentation on how to write a plugin (API is currently a WIP)