diff --git a/autoload/startify.vim b/autoload/startify.vim index 0aecf92..239d6f0 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -271,7 +271,7 @@ function! s:show_dir(cnt) abort let cnt = a:cnt let num = s:numfiles let entries = {} - let cwd = getcwd() + let cwd = escape(getcwd(), '\') let files = filter(map(copy(v:oldfiles), 'resolve(fnamemodify(v:val, ":p"))'), 'match(v:val, cwd) == 0') if !empty(files)