mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 04:53:45 -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
|
let glob = a:root . glob
|
||||||
endif
|
endif
|
||||||
for included in reverse(split(glob(glob), "\n"))
|
for included in reverse(split(glob(glob), "\n"))
|
||||||
|
try
|
||||||
call extend(lines, readfile(included), 'keep')
|
call extend(lines, readfile(included), 'keep')
|
||||||
|
catch
|
||||||
|
endtry
|
||||||
endfor
|
endfor
|
||||||
endfor
|
endfor
|
||||||
elseif len(key) && len(host)
|
elseif len(key) && len(host)
|
||||||
|
|||||||
Reference in New Issue
Block a user