s:CommentLinesSexy - Re-added missing line which prefixes whitespace to top delimiter

This commit is contained in:
Tim-Smart 2009-09-11 19:48:02 +12:00 committed by marty
parent 5d42b2ec5c
commit bca88e735b

View File

@ -1147,6 +1147,7 @@ function s:CommentLinesSexy(topline, bottomline)
" add the left delimiter one line above the lines that are to be commented
call cursor(a:topline, 1)
execute 'normal! O'
let theLine = repeat(' ', leftAlignIndx) . left
" Make sure tabs are respected
if !&expandtab