Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add projections.json for Rails.vim support
Rails.vim allows gems to provide their own projections compatible with Projectionist.vim by placing them at lib/rails/projections.json. This configuration allows: - :A from a factory to alternate to the test file - :Efactory (and :{S,V,T}factory) to navigate to or create a new factory - highlights FactoryBot macros as Ruby macros - Sets up :{E,S,V,T}unittest for factories => model specs To use this, you'll need Rails.vim, Bundler.vim, and Projectionist.vim plugins. See `:help rails-projections` or [the file on GitHub](https://github.com/tpope/vim-rails/blob/6bc0c7826d68f8c44c8347a3012aa79ade4f0a22/doc/rails.txt#L611-L726) for more clarity on what specifically each config key is doing. Inspired and updated from [@henrik's Gist](https://gist.github.com/henrik/5676109#file-config-projections-json-L10-L15)
- Loading branch information