tern_for_vim icon indicating copy to clipboard operation
tern_for_vim copied to clipboard

Error in TernDoc: Cannot close last window

Open tim-lebedkov opened this issue 11 years ago • 3 comments

image

tim-lebedkov avatar Sep 10 '14 13:09 tim-lebedkov

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

marijnh avatar Sep 26 '14 14:09 marijnh

OK

tim-lebedkov avatar Sep 26 '14 15:09 tim-lebedkov

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

jonsmithers avatar Jul 31 '16 00:07 jonsmithers