nodejs-complete for Vim
The plugin itself works great but the completion data hasn’t been updated for over two years, which means that some API changes aren’t available. Luckily, there’s a simple fix for that.
First we need to navigate into the directory of the plugin and then into
after/autoload/, where we’ll change the git
index information of the
After that we need to run the
The first step isn’t strictly necessary since the plugin isn’t actively
maintained anymore, but it’s a good idea to do it anyways so the modified file
doesn’t interfere in any way. The only thing you need to do from now on is to
update-nodejs-doc.js script whenever you feel like it.
By the way, if you want to disable the preview window that appears whenever the
plugin’s completion is on, add this to your
In some cases it worked well while in others it contributed to a load time of 30-60 seconds. ↩