mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Ignore missing ssh include files
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user