Cannot use tern commands in command mode
Closed this issue · 1 comments
lxynox commented
Safe and peace to all, i really need some help to get this plugin work.
The Manual Page works fine in vim which implies it's successfully installed(i think), the plugin is also included in the vim's &rtp
.
Output of runtimepath of vim:
/Users/lxynox/.vim,/Users/lxynox/.vim/bundle/Vundle.vim,/Users/lxynox/.vim/bundle/ctrlp.vim,/Users/lxynox/.vim/bundle /The-NERD-tree,/Users/lxynox/.vim/bundle/indentLine,/Users/lxynox/.vim/bundle/tern_for_vim,/Users/lxynox/.vim/bundle/ tagbar,/Users/lxynox/.vim/bundle/emmet-vim ...... ,/Users/lxynox/.vim/bundle/indentLine/after,/Users/lxynox/.vim/bundle/tern_for_vim/after,/Users/lx ynox/.vim/bundle/tagbar/after ......
However, when i ran some tern commands like :TernDoc
,
E492: Not an editor command: TernDoc
will popup, other plugins work fine besides those who have dependency on this one. I even didn't add any configuration for this plugin into .vimrc
yet. Can anyone help a little bit?
Note: I'm using vim7.4, Mac EI Captain.
lxynox commented
Looks like this is because of i am trying to invoke it when editing filetype other than JS.