diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2016-08-21 22:04:15 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2016-08-21 22:04:15 -0400 |
| commit | b8e6f04e6952a5fb3179a6b243e0506bf979532a (patch) | |
| tree | 57702cc022f34b12b873c288456bddb4db0b5134 /runtime/autoload/remote | |
| parent | a26d52ea328e64ab08dae369e5a7c551bb05abf7 (diff) | |
| parent | 297677ecf42501d2bef45dd4f083002a0963b205 (diff) | |
| download | rneovim-b8e6f04e6952a5fb3179a6b243e0506bf979532a.tar.gz rneovim-b8e6f04e6952a5fb3179a6b243e0506bf979532a.tar.bz2 rneovim-b8e6f04e6952a5fb3179a6b243e0506bf979532a.zip | |
Merge #5205 'CheckHealth'
Diffstat (limited to 'runtime/autoload/remote')
| -rw-r--r-- | runtime/autoload/remote/host.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index 065644121a..110f80297a 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -178,7 +178,9 @@ endfunction function! remote#host#LoadRemotePluginsEvent(event, pattern) abort autocmd! nvim-rplugin call remote#host#LoadRemotePlugins() - execute 'silent doautocmd <nomodeline>' a:event a:pattern + if exists('#'.a:event.'#'.a:pattern) " Avoid 'No matching autocommands'. + execute 'silent doautocmd <nomodeline>' a:event a:pattern + endif endfunction |