diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-12-17 16:10:40 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-12-17 16:10:40 +0100 |
commit | be53c209c0e0ccff0053fac82f2d8e1c9a40427f (patch) | |
tree | 5b3f15b2d43a3a7caae0fdd6c3e581d6712ad2ee /runtime/autoload/provider/ruby.vim | |
parent | bfb21f3e012d9473d6038dd254fc3a0ecdf8c0e9 (diff) | |
parent | 103ff26c0ae76491c73a6c078b52f2e56af16fb8 (diff) | |
download | rneovim-be53c209c0e0ccff0053fac82f2d8e1c9a40427f.tar.gz rneovim-be53c209c0e0ccff0053fac82f2d8e1c9a40427f.tar.bz2 rneovim-be53c209c0e0ccff0053fac82f2d8e1c9a40427f.zip |
Merge #7706 'ci: nodejs acceptance-test'
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 |