mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-11 11:13:47 -05:00
Fix bug when inverting sexy comments
This commit is contained in:
@@ -976,7 +976,7 @@ function s:InvertComment(firstLine, lastLine)
|
||||
|
||||
"move to the line after last line of the sexy comment
|
||||
let numLinesAfterSexyComRemoved = s:NumLinesInBuf()
|
||||
let currentLine = bottomBound - (numLinesBeforeSexyComRemoved - numLinesAfterSexyComRemoved) + 1
|
||||
let currentLine = sexyComBounds[1] - (numLinesBeforeSexyComRemoved - numLinesAfterSexyComRemoved) + 1
|
||||
|
||||
" the line isnt commented
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user