danchoi / ri.vim

browse ri documentation from Vim
http://github.com/danchoi/ri.vim
MIT License
114 stars 15 forks source link

Ruby 3.2 -- File.exists? is not a valid method #35

Open evanthegrayt opened 7 months ago

evanthegrayt commented 7 months ago

Using Ruby 3.2, when reading the RI documentation from the local file, there's a call to File.exists?(path) on line 51 in ./plugin/ri_vim.rb, which is no longer a valid method. Changing this to File.exist?(path) fixes the issue.