Closed ahmedelgabri closed 8 years ago
@ahmedelgabri I tested and it is working fine... take a look if you have .tern-port on your project directory, if there is any you have to delete it.
Thanks! @carlitux, but why is that a problem in the first place? I thought .tern-port
is required for tern_vim
to work?
It happens to me when vim crashed or my computer do, too.
.tern-port is created when tern starts so if you are using tern_for_vim it will start an instance server and this source just request to that tern instance parsing .tern-project to know where do http requests.
I have a weird issue, I have a project with a
.tern-profile
file. When I open any.js
file from inside that project folder, tern completion doesn't work but if I open the same exact from a different directory everything is working fine!This is the project
.tern-project
This is my global
.tern-config
This is what I tried so far, but nothing changes:
.tern-project
..tern-project
with~/.tern-config
content.tern
path since the project uses a different node version that the system. But I saw #26. So I added the config & even:echo g:tern_path
returns the right path.Session.vim
created by https://github.com/tpope/vim-obsession & started with blank session.No idea how can I debug this any further & how to fix this problem.