Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Shows error for empty filenames (vim-startify)
There was a fix in preservim#1043 which improves the behavior for non saved filenames. Those are not on disk, but also not empty. This lead to an issue preservim#1059 where actual "empty files" like created with vim-startify or stdin lead to an error. This change fixes this by adapting the order of the tests. It'll print "no file for the current buffer" for empty files. Solves preservim#1059
- Loading branch information