-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can install plugin, but autocompletion does not work. #175
Comments
I had something similar. Tried adding loadEagerly? |
@akkerman Thanks, for the response. How do you trigger autocompletion. What shortcut? |
tern hook into omni completition, but your completion plugin may not, you can test whether your omni completion works by use |
In hopefully what is considered a related note: I can't seem to confirm if the instance of Where should I expect to find the Thank you! |
They are part of the tern package -- i.e. |
Perfect. In my case (Mac OS, installing I was able to confirm that the globally installed Specifically, I copied from the Knowing what you shared was helpful because while this plugin takes care of the install, I still wanted to know where to put the extra source files that I'm referencing in the Am I defeating some project specific capacity/feature? I do know that my set-up is now working at a useful baseline level. Thank you for your help. |
You can also put definition files and plugins in your project—if their name, interpreted as a filename relative to the |
Sorry for the late reply. My issue was resolved. Here is a link to vim stackexchange - https://vi.stackexchange.com/questions/13348/cannot-setup-tern-for-vim-plugin/13359#13359. |
I installed the plugin tern_for_vim. Followed all the instructions from readme but it doesn't work. I don't have any autocompletion for javascript, the commands :TernDef and :TernDoc are not recognized in vim. I installed the tern server globally using npm and I can launch it in the terminal.
However, if I launch
:call tern#Enable()
it seems that the plugin gets loaded and I can see :TernDef and :TernDoc commands but still no autcompletion for javascript.I tried to launch tern with the --verbose option but it did not output anything when I tried to use autocompletion in javascript files.
It seems that there is no communication between vim and the tern server if I understand it correctly.
Here are my plugins in .vimrc file:
I also setup a .tern-config file in the home directory:
I could run ternjs when I set up YouCompleteMe for python autocompletion, but I didn't like it and chose jedi-vim (which is really nice). Now I want to setup javascript autocompletion but without no luck.
Is it possible that the plugin is in conflict with some of my other plugins?
OS: Xubuntu 16.04 LTS
The text was updated successfully, but these errors were encountered: