zefei / vim-wintabs

Modern buffer manager for Vim
MIT License
325 stars 25 forks source link

Double error when closing with unsaved changes. #27

Closed jordwalke closed 6 years ago

jordwalke commented 6 years ago

When you close a wintab that has not saved its changes, you'd expect to get an error (from Vim) but you get a double error which causes you to have to press enter with wintab.

screen shot 2018-02-05 at 11 21 06 pm
jordwalke commented 6 years ago

I think it might be able to catch E89 and just rethrow it up.

zefei commented 6 years ago

Not sure if the fix of #24 resolves this issue. For exception E89: vim can catch that but unfortunately (re)throwing vim exceptions isn't allowed.

Let me know if this is still an issue after the other error is fixed.

zefei commented 6 years ago

Should be fixed now.