-
-
Notifications
You must be signed in to change notification settings - Fork 383
Closed
Description
Rails.vim is awesome, but it is currently activated for any project with a config/environment.rb. A Lotus project also has a config/environment.rb, so rails.vim will activate for it — but being a different framework most functionality mostly doesn't work or simply doesn't make sense. Rake.vim is great, but if I want to make a custom Vim plugin for working with Lotus projects and their conventions, I would need a way to not activate Rails.vim at all (and preferably keep Rake.vim).
Here's some strategies I can think of:
- Change the detection of Rails apps to something more sophisticated, such as detecting
gem "rails"in./Gemfile. - Adding a global Vim configuration you can put in your
~/.vimrcto skip loading Rails.vim for certain paths. - Adding a
do_not_load_rails_vimsetting in a project-specificvimrcfile. - Uninstall Rails.vim altogether and re-install when switching to a Rails project where you do need it.
To me these all sound equally bad. Is there any way to accomplish this, that I am unaware of? Any thoughts on the matter?
Metadata
Metadata
Assignees
Labels
No labels