mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Fix "New Document Here" Service
Expand leading tilde in paths, else NSFileManager thinks the path does not exists.
This commit is contained in:
@@ -1362,6 +1362,7 @@ fsEventCallback(ConstFSEventStreamRef streamRef,
|
||||
}
|
||||
|
||||
NSString *path = [pboard stringForType:NSStringPboardType];
|
||||
path = [path stringByExpandingTildeInPath];
|
||||
|
||||
BOOL dirIndicator;
|
||||
if (![[NSFileManager defaultManager] fileExistsAtPath:path
|
||||
|
||||
Reference in New Issue
Block a user