From 8e62de9c7d48c53ad90c0f7a57831b0217dd0b21 Mon Sep 17 00:00:00 2001 From: lolson Date: Fri, 10 Jul 2015 14:23:30 -0500 Subject: [PATCH] testing --- plugin/makecols.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index d6da659..29ed6ea 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -37,14 +37,14 @@ function! s:convert_selection(selection) for i in old_selection if (c == 0) " If first selected line - let new_string = join([new_string, old_selection[i]], "") + let new_string = join([new_string, i], "") else if (c % no_of_cols) " If regular column - let new_string = join([new_string, old_selection[i]], "\t") + let new_string = join([new_string, i], "\t") else " If end of row - let new_string = join([new_string, old_selection[i]], "\n") + let new_string = join([new_string, i], "\n") endif endif let c += 1