aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/provider/script_host.rb
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoload/provider/script_host.rb')
-rw-r--r--runtime/autoload/provider/script_host.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoload/provider/script_host.rb b/runtime/autoload/provider/script_host.rb
new file mode 100644
index 0000000000..a1c58bde85
--- /dev/null
+++ b/runtime/autoload/provider/script_host.rb
@@ -0,0 +1,6 @@
+begin
+ require 'neovim/ruby_provider'
+rescue LoadError
+ warn('Your neovim RubyGem is missing or out of date.',
+ 'Install the latest version using `gem install neovim`.')
+end