diff --git a/plugin/commentary.vim b/plugin/commentary.vim index 9aa0f32..464e7aa 100644 --- a/plugin/commentary.vim +++ b/plugin/commentary.vim @@ -32,10 +32,12 @@ function! s:go(type,...) abort endif let [l, r] = s:surroundings() + let l1 = l let uncomment = 2 for lnum in range(lnum1,lnum2) let line = matchstr(getline(lnum),'\S.*\s\@