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.rb8
1 files changed, 8 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..1dade766c7
--- /dev/null
+++ b/runtime/autoload/provider/script_host.rb
@@ -0,0 +1,8 @@
+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