mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 10:26:42 +10:00
Ruby remote plugin support
This commit is contained in:
@@ -204,6 +204,17 @@ function! remote#host#PluginsForHost(host) abort
|
||||
endfunction
|
||||
|
||||
|
||||
function! remote#host#LoadErrorForHost(host, log) abort
|
||||
return 'Failed to load '. a:host . ' host. '.
|
||||
\ 'You can try to see what happened '.
|
||||
\ 'by starting Neovim with the environment variable '.
|
||||
\ a:log . ' set to a file and opening the generated '.
|
||||
\ 'log file. Also, the host stderr will be available '.
|
||||
\ 'in Neovim log, so it may contain useful information. '.
|
||||
\ 'See also ~/.nvimlog.'
|
||||
endfunction
|
||||
|
||||
|
||||
" Registration of standard hosts
|
||||
|
||||
" Python/Python3
|
||||
@@ -211,3 +222,7 @@ call remote#host#Register('python', '*.py',
|
||||
\ function('provider#pythonx#Require'))
|
||||
call remote#host#Register('python3', '*.py',
|
||||
\ function('provider#pythonx#Require'))
|
||||
|
||||
" Ruby
|
||||
call remote#host#Register('ruby', '*.rb',
|
||||
\ function('provider#ruby#Require'))
|
||||
|
||||
Reference in New Issue
Block a user