From 6d51d1b334704349eb0e80534c2a76344a712093 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Mon, 30 Dec 2019 10:51:34 +0300 Subject: [PATCH] Fix VimL syntax error --- plugin/NERD_commenter.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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