Vim uses tern-for-vim and there is no way to avoid all global variables
ringa_lee2017-05-16 16:37:48
0
2
597
Use tern-for-vim to complete js code, but there is no way to complete some global variables, such as: setTimeout setInterval, document and other objects.
The configuration of YCM javascript has been modified, and it can now be triggered automatically. https://github.com/ruanyl/bigvim/commit/7db7951aba173eab6d93858f212b79b88c84da49
The configuration of YCM javascript has been modified, and it can now be triggered automatically. https://github.com/ruanyl/bigvim/commit/7db7951aba173eab6d93858f212b79b88c84da49
Thank you, the problem is solved