I usually write more js. I installed youcomplete according to what is said on the Internet, but the automatic completion of native js is not very good. I saw on the Internet that using tern-for-vim configuration can complete the automatic completion of vim very well. Complete. But it will not take effect after installation. The specific configuration is as follows:
image description
滿天的星座2017-05-16 16:40:17
This is my vim configuration. These two lines are for tern_for_vim. If these two lines are correct, there should be no problem.
https://github.com/ruanyl/bigvim/blob/master/vimrc.bundles#L77
https://github.com/ruanyl/bigvim/blob/master/vimrc.bundles#L303