mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-09 23:05:57 +08:00
Ignore missing ssh include files
This commit is contained in:
1 parent
19ca61c78c
commit
110e7ca00c
1 file changed
+4
-1
@@ -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