neovim/runtime/plugin/rplugin.vim

17 lines
448 B
VimL
Raw Normal View History

if exists('g:loaded_remote_plugins')
finish
endif
2016-02-13 16:24:49 -07:00
let g:loaded_remote_plugins = 1
command! UpdateRemotePlugins call remote#host#UpdateRemotePlugins()
augroup nvim-rplugin
autocmd!
autocmd FuncUndefined *
\ call remote#host#LoadRemotePluginsEvent(
\ 'FuncUndefined', expand('<amatch>'))
autocmd CmdUndefined *
\ call remote#host#LoadRemotePluginsEvent(
\ 'CmdUndefined', expand('<amatch>'))
augroup END