mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-15 05:03:47 -05:00
s:CommentLinesSexy - Re-added missing line which prefixes whitespace to top delimiter
This commit is contained in:
@@ -1147,6 +1147,7 @@ function s:CommentLinesSexy(topline, bottomline)
|
|||||||
" add the left delimiter one line above the lines that are to be commented
|
" add the left delimiter one line above the lines that are to be commented
|
||||||
call cursor(a:topline, 1)
|
call cursor(a:topline, 1)
|
||||||
execute 'normal! O'
|
execute 'normal! O'
|
||||||
|
let theLine = repeat(' ', leftAlignIndx) . left
|
||||||
|
|
||||||
" Make sure tabs are respected
|
" Make sure tabs are respected
|
||||||
if !&expandtab
|
if !&expandtab
|
||||||
|
|||||||
Reference in New Issue
Block a user