Closed yaohui-wyh closed 9 years ago
Well, I found something new:
Rename folder 'tern_for_vim' under ~/.vim/bundle
to any name not ends with 'vim', such as 'tern', and also change the vimrc part Plugin 'ternjs/tern_for_vim'
to Plugin 'ternjs/tern'
. Then everything works.
Such weird behavior might be a problem of Vundle?
I've tried on an Ubuntu 12.04 machine, and everything works. I would close the issue since such weird problem could not likely be a bug.
Thanks and regards
I am seeing this problem as well. Is there a different, more automatic solution than renaming the plugin folder?
Hi, after installed tern_for_vim, vim gives the following error when open a JavaScript file:
I've checked the similar issue Issue#95 but still cannot get it work.
Some detailed info:
vim --version
: OS X version 7.4 (Compiled by Homebrew), with python support (+python
)I'm using Vundle:
After
BundleInstall
the plugin repo has been successfully cloned into~/.vim/bundle/tern_for_vim
, git log on HEAD:* e044f14 (HEAD, origin/master, origin/HEAD, master) 2015-11-09 Marijn Haverbeke Disallow sending a file fragment in definition queries
Also
npm install
under the plugin directory:tern is also installed via npm globally, and runs without error
I guess the problem might be that vim is not loading the plugin. I've tried reinstalled Vundle and clean up the entire
~/.vim/bundle
folder and start all over, but still got the error.Thanks!