Skip to content
This repository was archived by the owner on Nov 19, 2017. It is now read-only.

Commit 9e3fca9

Browse files
committed
Prefer space after opening bracket for parameters
To be consistent, bracket blocks with parameters should conform to this format: { |this, that| this.eq?(that) } which correlates directly with the do/end form: do |this, that| this.eq?(that) end
1 parent 7dc3332 commit 9e3fca9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugin/blockle.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ function! s:ConvertDoEndToBrackets()
8585
norm! JJ
8686
" Remove extraneous spaces
8787
if search(' \+', 'c', begin_num) | :.s/\([^ ]\) \+/\1 /g | endif
88-
if search('{ |', 'c', begin_num) | :.s/{ |/{|/ | endif
8988
call setpos('.', do_pos)
9089
endif
9190
endfunction

0 commit comments

Comments
 (0)