Windows: handle Vim cmdline special characters on Windows
Fixes https://github.com/mhinz/vim-startify/issues/346 Reverts https://github.com/mhinz/vim-startify/issues/239
This commit is contained in:
parent
e25fbe1c0d
commit
5cd4faf2c6
|
@ -592,10 +592,7 @@ function! s:filter_oldfiles(path_prefix, path_format, use_env) abort
|
||||||
|
|
||||||
let entries[absolute_path] = 1
|
let entries[absolute_path] = 1
|
||||||
let counter -= 1
|
let counter -= 1
|
||||||
if !has('win32')
|
let oldfiles += [[fnameescape(absolute_path), entry_path]]
|
||||||
let absolute_path = fnameescape(absolute_path)
|
|
||||||
endif
|
|
||||||
let oldfiles += [[absolute_path, entry_path]]
|
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
if a:use_env
|
if a:use_env
|
||||||
|
|
Loading…
Reference in a new issue