diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index c5805fc..e7aaff0 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -2591,8 +2591,8 @@ function s:IsSexyComment(topline, bottomline) let topline = a:topline let bottomline = a:bottomline if bottomline < topline - topline = bottomline - bottomline = a:topline + let topline = bottomline + let bottomline = a:topline endif "if there is < 2 lines in the comment it cannot be sexy