From 1dd3e121bdc82742b21c5e5b1404e63ad59ee86d Mon Sep 17 00:00:00 2001 From: lolson Date: Fri, 10 Jul 2015 13:05:18 -0500 Subject: [PATCH] testing --- plugin/makecols.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index b1cf572..4602332 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -26,7 +26,7 @@ function! s:get_visual_selection() if (c == 0) let new_string = lines[i] else - if (i % no_of_cols) + if (c % no_of_cols) let new_string = join([new_string, lines[i]], "\t") else let new_string = join([new_string, lines[i]], "\n")