Commit 7df207b
committed
Guard against invalid filenames in filter_oldfiles_unsafe
Some plugins insert files into v:oldfiles with strange paths such as
'[ Some message ]'. Startify errors on attempting to handle this path
and creates a buggy vim startup experience.1 parent 4e089df commit 7df207b
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
662 | | - | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
663 | 670 | | |
664 | 671 | | |
665 | 672 | | |
| |||
0 commit comments