ternjs / tern_for_vim

Tern plugin for Vim
MIT License
1.83k stars 100 forks source link

TernError: File doesn't contain a line. #152

Open Leeiio opened 8 years ago

Leeiio commented 8 years ago

2016-10-13 8 26 03

But if i delete the line 246 and use :w to save the file then press u to restore the line 246, the :TernDef run well.

marijnh commented 8 years ago

I'd need instructions for how to reproduce this to be able to look into it.

Leeiio commented 8 years ago

It's so weird because when i copy the file to another folder like Desktop, everything is fine. I couldn't reproduce this problem right now :(