Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open in split if opening normally would fail
If the user has 'hidden' turned off and the current window has modifications, then opening with the standard ":edit" command will fail with an error: E37: No write since last change (add ! to override) So, in these cases, fall back to opening in a split, which should work without warnings or errors. See: https://wincent.com/issues/1514 Signed-off-by: Wincent Colaiuta <win@wincent.com>
- Loading branch information