Commits

Anonymous committed 37303ec

Fixed a bug that an error occurs if current directory included spaces.

Comments (0)

Files changed (1)

plugin/fuzzyfinder.vim

 endfunction
 
 function! s:SetLocalOptionsForFuzzyfinder(cwd, complete_func)
-  " countermeasure for auto-cd script
-  execute ':lcd ' . a:cwd
+  " countermeasure against auto-cd script
+  execute ':lcd ' . escape(a:cwd, ' ')
   setlocal filetype=fuzzyfinder
   setlocal bufhidden=delete
   setlocal buftype=nofile