X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/659ef8fe6e0fdaa4672bccf54f30f2a4b51f5917..446bfd0cb17b5ea5b13161440a61d1a5f057c703:/spec/spec_helper.rb diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3a07436..022f65b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,7 +2,8 @@ require 'vimrunner' require 'vimrunner/rspec' Vimrunner::RSpec.configure do |config| - config.reuse_server = true + # FIXME: reuse_server = true seems to hang after a certain number of test cases + config.reuse_server = false config.start_vim do vim = Vimrunner.start @@ -13,6 +14,7 @@ Vimrunner::RSpec.configure do |config| # vim.add_plugin(plugin_path, 'indent/python.vim') vim.command "set rtp^=#{plugin_path}" + vim.command "runtime syntax/python.vim" vim.command "runtime indent/python.vim" vim