mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
17 lines
448 B
VimL
17 lines
448 B
VimL
if exists('g:loaded_remote_plugins')
|
|
finish
|
|
endif
|
|
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
|