diff --git a/runtime/autoload/provider/ruby.vim b/runtime/autoload/provider/ruby.vim index 518a9dc793..da73a0dfc0 100644 --- a/runtime/autoload/provider/ruby.vim +++ b/runtime/autoload/provider/ruby.vim @@ -19,7 +19,7 @@ function! provider#ruby#Detect() abort if exists("g:ruby_host_prog") return g:ruby_host_prog else - return has('win32') ? exepath('neovim-ruby-host.cmd') : exepath('neovim-ruby-host') + return has('win32') ? exepath('neovim-ruby-host.bat') : exepath('neovim-ruby-host') end endfunction