diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2013-12-27 16:44:34 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2013-12-27 16:44:34 +0100 |
commit | e45b23b6ee6e3b00ba4c7111f0c703f93fea9123 (patch) | |
tree | 65fc72ebcabaf0ed6d0b56d788be94e3fe5d441d | |
parent | a0c5f3ee5593760d92791c615540658108dbdfe8 (diff) | |
download | vim-polyglot-e45b23b6ee6e3b00ba4c7111f0c703f93fea9123.tar.gz vim-polyglot-e45b23b6ee6e3b00ba4c7111f0c703f93fea9123.zip |
Allow for reusing vim server locally (testing)
-rwxr-xr-x | spec/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a8b0d32c..938a9a7f 100755 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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. |