qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.61k stars 218 forks source link

VimR ignores local Ruby #1010

Open polydevuk opened 1 year ago

polydevuk commented 1 year ago

I'm running NeoVim 0.9.1 via MacPorts on Mac OS Ventura 13.3.1 and Ruby 3.22 via $HOME/.rbenv . I have an alias to run VimR with my NeoVim config:

vimr --nvim -u ~/.config/nvim/init.lua

... which mostly works fine but :checkhealth is not regcognising my Ruby and insists on using the system Ruby instead:

mason.nvim [Languages]

Ruby provider (optional)

My NeoVim :checkhealth shows no errors and respects the Ruby I have configured:

mason.nvim [Languages]

Ruby provider (optional)

I don't know if this is related but there is also an intit file issue listed by VimR :checkhealth:

Configuration

My config is: /Users/gmac/.config/nvim/init.lua

alexeevit commented 5 months ago

Do you have this line in your config? I just checked with it and it worked fine.

let g:ruby_host_prog = '~/.rbenv/versions/3.2.2/bin/neovim-ruby-host'

For more information :help g:ruby_host_prog