fix: escape spaces in expanded paths (#676)

This commit is contained in:
David Wettstein authored and GitHub committed 2022-10-15 21:17:55 +02:00
1 parent 88f64a0561
commit bbab4579f6
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -170,7 +170,7 @@ func! DeleteTillSlash()
endfunc
func! CurrentFileDir(cmd)
return a:cmd . " " . expand("%:p:h") . "/"
return a:cmd . " " . escape(expand("%:p:h"), " ") . "/"
endfunc
"=================================================================================