mirror of
https://github.com/amix/vimrc
synced 2025-06-30 11:54:59 +08:00
Updated plugins
This commit is contained in:
@ -1,6 +1,16 @@
|
||||
require 'vimrunner'
|
||||
require 'vimrunner/rspec'
|
||||
|
||||
RSpec.configure do |config|
|
||||
# reset globals to default values before each test
|
||||
config.before(:each) do
|
||||
vim.command 'let g:ruby_indent_access_modifier_style = "normal"'
|
||||
vim.command 'let g:ruby_indent_block_style = "do"'
|
||||
vim.command 'let g:ruby_indent_assignment_style = "hanging"'
|
||||
vim.command 'let g:ruby_indent_hanging_elements = 1'
|
||||
end
|
||||
end
|
||||
|
||||
Vimrunner::RSpec.configure do |config|
|
||||
config.reuse_server = true
|
||||
|
||||
|
Reference in New Issue
Block a user