From 617b01a5b6aa3cadb25b2ff8639e330cfc6cf3c1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 11 Nov 2014 02:37:21 +0100 Subject: Update --- ftplugin/ruby.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/ruby.vim') diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index f406cc88..a032928c 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -277,12 +277,12 @@ function! RubyBalloonexpr() endfunction function! s:searchsyn(pattern,syn,flags,mode) + let cnt = v:count1 norm! m' if a:mode ==# 'v' norm! gv endif let i = 0 - let cnt = v:count ? v:count : 1 while i < cnt let i = i + 1 let line = line('.') -- cgit v1.2.3