Open keithpitty opened 9 years ago
Thanks for the suggestion, I think it's a good idea, I will think about it.
For now you can use environment variables. Something like this should work:
guard 'ctags-bundler', :emacs => ENV['EDITOR'] == 'emacs', :src_path => ["app", "lib", "spec/support"] do
watch(/^(app|lib|spec\/support)\/.*\.rb$/)
watch('Gemfile.lock')
end
Ah, thanks. That's a good idea. We'll give it a shot.
We have both emacs and vim users in our team. It would be nice to enable us to have
guard-ctags-bundler
set up in theGuardfile
in such a way that we can derive whether or not:emacs
istrue
based on a a dot file (e.g..guard-ctags-bundler
) that specifies the value of:emacs
.