diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-12-17 15:53:11 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-12-17 16:09:18 +0100 |
commit | 103ff26c0ae76491c73a6c078b52f2e56af16fb8 (patch) | |
tree | 5b3f15b2d43a3a7caae0fdd6c3e581d6712ad2ee /runtime/autoload/provider/ruby.vim | |
parent | e0054fef7d351b0f8af3a04bb22d6e6ee8bae63f (diff) | |
download | rneovim-103ff26c0ae76491c73a6c078b52f2e56af16fb8.tar.gz rneovim-103ff26c0ae76491c73a6c078b52f2e56af16fb8.tar.bz2 rneovim-103ff26c0ae76491c73a6c078b52f2e56af16fb8.zip |
provider/nodejs: check version in Detect()
Diffstat (limited to 'runtime/autoload/provider/ruby.vim')
-rw-r--r-- | runtime/autoload/provider/ruby.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/autoload/provider/ruby.vim b/runtime/autoload/provider/ruby.vim index da73a0dfc0..3fb65fecdf 100644 --- a/runtime/autoload/provider/ruby.vim +++ b/runtime/autoload/provider/ruby.vim @@ -7,7 +7,7 @@ let g:loaded_ruby_provider = 1 let s:stderr = {} let s:job_opts = {'rpc': v:true} -function! s:job_opts.on_stderr(chan_id, data, event) +function! s:job_opts.on_stderr(chan_id, data, event) abort let stderr = get(s:stderr, a:chan_id, ['']) let last = remove(stderr, -1) let a:data[0] = last.a:data[0] @@ -23,7 +23,7 @@ function! provider#ruby#Detect() abort end endfunction -function! provider#ruby#Prog() +function! provider#ruby#Prog() abort return s:prog endfunction @@ -50,7 +50,7 @@ function! provider#ruby#Require(host) abort throw remote#host#LoadErrorForHost(a:host.orig_name, '$NVIM_RUBY_LOG_FILE') endfunction -function! provider#ruby#Call(method, args) +function! provider#ruby#Call(method, args) abort if s:err != '' echoerr s:err return |