From e5147ce6a0ea84c8b72043ba7d66d56046c90ca9 Mon Sep 17 00:00:00 2001 From: Dan Elkouby Date: Sun, 17 Apr 2016 15:15:51 +0300 Subject: [PATCH] rplugin: Ignore modeline while chaining events --- runtime/autoload/remote/host.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index 1aead649a0..8faeaed2ea 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -130,7 +130,7 @@ endfunction function! remote#host#LoadRemotePluginsEvent(event, pattern) abort autocmd! nvim-rplugin call remote#host#LoadRemotePlugins() - execute 'silent doautocmd' a:event a:pattern + execute 'silent doautocmd ' a:event a:pattern endfunction