diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 38f9813..1cc1b43 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -80,7 +80,7 @@ function! s:convert_selection_vert() echom "Cols: " . g:makecols_cols let rows = lines / g:makecols_cols echom "Rows: " . rows - let calc_rows = ceil(rows) + let calc_rows = float2nr(ceil(rows)) echom "Rounded: " . calc_rows let @z = ""