Comments
-
Greg Hurrell
I wonder if this is because you have
'hidden'
set to off and there are unsaved changes in the current buffer.Do you have it turned off? ie. what does VIM say when you do
:echo &hidden
? -
anonymous
The output of
:echo &hidden
is0
and you are probably right. I tried it again and the error happens when i have something modified and unsaved in current buffer. -
Greg Hurrell
I'll have a think and see if there's some way I can improve the UI here. I don't think I can (or should) override
'hidden'
, but I could at least suppress the error message and emit a friendlier warning instead. Perhaps there is even a way to avoid the error entirely (ie. falling back to opening in a new tab or split, and emitting a message explaining why this happened). -
Greg Hurrell
Ok, for the time being I am opening in a split when opening would otherwise fail (due to
'hidden'
being off and'modified'
being true).Will mark this one as closed. New release including the change on the way shortly.
-
Greg Hurrell
Status changed:
- From: new
- To: closed
Add a comment
Comments are now closed for this issue.