X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/659ef8fe6e0fdaa4672bccf54f30f2a4b51f5917..b0d6e2d58401e9d2b3264371059a8da0b73c01f9:/spec/spec_helper.rb?ds=sidebyside 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