Allow for reusing vim server locally (testing)

This commit is contained in:
Adam Stankiewicz 2013-12-27 16:44:34 +01:00
parent a0c5f3ee55
commit e45b23b6ee

View File

@ -6,7 +6,7 @@ $plugin_path = File.expand_path('../..', __FILE__)
Vimrunner::RSpec.configure do |config|
# Use a single Vim instance for the test suite. Set to false to use an
# instance per test (slower, but can be easier to manage).
config.reuse_server = false
config.reuse_server = !ENV['REUSE_SERVER'].nil?
# Decide how to start a Vim instance. In this block, an instance should be
# spawned and set up with anything project-specific.