aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Elkouby <streetwalrus@codewalr.us>2016-04-17 15:15:51 +0300
committerDan Elkouby <streetwalrus@codewalr.us>2016-04-18 09:21:22 +0300
commite5147ce6a0ea84c8b72043ba7d66d56046c90ca9 (patch)
tree2b5a69a967594f8074a2c8c5841e6b5a2dc9dabc
parent40cc5ba0e23c919294dd07dfec40d387324f345f (diff)
downloadrneovim-e5147ce6a0ea84c8b72043ba7d66d56046c90ca9.tar.gz
rneovim-e5147ce6a0ea84c8b72043ba7d66d56046c90ca9.tar.bz2
rneovim-e5147ce6a0ea84c8b72043ba7d66d56046c90ca9.zip
rplugin: Ignore modeline while chaining events
-rw-r--r--runtime/autoload/remote/host.vim2
1 files changed, 1 insertions, 1 deletions
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 <nomodeline>' a:event a:pattern
endfunction