-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle non-existent directories passed to :CommandT
Gracefully handle non-existent directories passed in via ":CommandT path". Note that we catch the Errno:ENOENT exception only when the match window is shown, because we're interested in advising the user when they enter a dud path. (In contrast, we let Errno::ENOENT exceptions at other times just bubble up, as may be the case if the user has something funky with their filesystem and stuff appears in the listing but later claims to not exist.) This closes feature request #1522: https://wincent.com/issues/1522 Signed-off-by: Wincent Colaiuta <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters