mirror of
https://github.com/preservim/nerdcommenter.git
synced 2024-11-22 12:01:10 +08:00
s:CommentLinesSexy - Re-added missing line which prefixes whitespace to top delimiter
This commit is contained in:
parent
5d42b2ec5c
commit
bca88e735b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user