fix: escape spaces in expanded paths (#676)
This commit is contained in:
1 parent
88f64a0561
commit
bbab4579f6
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -170,7 +170,7 @@ func! DeleteTillSlash()
|
||||
endfunc
|
||||
|
||||
func! CurrentFileDir(cmd)
|
||||
return a:cmd . " " . expand("%:p:h") . "/"
|
||||
return a:cmd . " " . escape(expand("%:p:h"), " ") . "/"
|
||||
endfunc
|
||||
|
||||
"=================================================================================
|
||||
|
||||
Reference in new issue
Block a user