ternjs / tern_for_vim

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

Error in TernDoc: Cannot close last window #73

Open tim-lebedkov opened 10 years ago

tim-lebedkov commented 10 years ago

image

marijnh commented 10 years ago

Unless you can also give us a way to reproduce this, no one can do anything with you report.

tim-lebedkov commented 10 years ago

OK

jonsmithers commented 8 years ago

See if this will replicate it:

  1. Open a js file.
  2. Place the cursor on some documented word and run :TernDoc
  3. Still in the same window, run :bnext until you open the buffer containing the documentation Tern looked up. This means you have 2 windows of the same buffer.
  4. Run :bd to close the buffer.
  5. Run :TernDoc on the same word again, and you'll get an error.

screenshot from 2016-07-30 15 13 47