tpope / vim-rails

rails.vim: Ruby on Rails power tools
http://www.vim.org/scripts/script.php?script_id=1567
4.1k stars 383 forks source link

Install with Pathogen unnecessary in Vim 8+ #598

Open h3xx opened 12 months ago

h3xx commented 12 months ago

Ever since Vim 8 (released 2016-09-12), it's supported plugin directories natively in ~/.vim/pack/*/start/<plugin>.

For example:

mkdir -p ~/.vim/pack/my-ruby-stuff/start
git clone https://github.com/tpope/vim-rails ~/.vim/pack/my-ruby-stuff/start/vim-rails

This is sufficient to install the plugin on Vim 8.0 and later. No Pathogen intervention is necessary whatsoever.

The installation instructions in this and other long-running projects have been the same since forever, suggesting now-obsolete things like Vundle or Pathogen. It's like the maintainers don't know about this feature of Vim. So, I'm just letting you know.