Browse Source

testing

master
lolson 9 years ago
parent
commit
b1a1c81b98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugin/makecols.vim

+ 1
- 1
plugin/makecols.vim View File

@ -11,7 +11,7 @@ function! s:get_visual_selection()
let [lnum1, col1] = getpos("'<")[1:2] let [lnum1, col1] = getpos("'<")[1:2]
let [lnum2, col2] = getpos("'>")[1:2] let [lnum2, col2] = getpos("'>")[1:2]
let no_of_lines = lnum2 - lnum1 let no_of_lines = lnum2 - lnum1
let no_of_cols = 5
let no_of_cols = 6
let lines = getline(lnum1, lnum2) let lines = getline(lnum1, lnum2)
let lines[-1] = lines[-1][: col2 - (&selection == 'inclusive' ? 1 : 2)] let lines[-1] = lines[-1][: col2 - (&selection == 'inclusive' ? 1 : 2)]
let lines[0] = lines[0][col1 - 1:] let lines[0] = lines[0][col1 - 1:]

Loading…
Cancel
Save