Skip to content

Commit 7880db4

Browse files
committed
disable automatic comment contuations in test
1 parent 8ca41c1 commit 7880db4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ def self.new
201201
VIM.add_plugin(File.expand_path('..', __dir__))
202202
VIM.command('filetype off')
203203
VIM.command('filetype plugin indent on')
204+
VIM.command('autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o') # disable automatic comment continuation
204205
VIM.normal(":set ignorecase<CR>") # make sure we test ignorecase
205206
VIM
206207
end

0 commit comments

Comments
 (0)