diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 2815399..76724e4 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1259,7 +1259,10 @@ function! s:SshParseConfig(into, root, file) abort let glob = a:root . glob endif for included in reverse(split(glob(glob), "\n")) - call extend(lines, readfile(included), 'keep') + try + call extend(lines, readfile(included), 'keep') + catch + endtry endfor endfor elseif len(key) && len(host)