diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 3b0187b..01af8ff 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -1447,7 +1447,7 @@ function! NERDComment(isVisual, type) range let firstLine = line("'<") let lastLine = line("'>") let firstCol = col("'<") - let lastCol = col("'>") + let lastCol = col("'>") - (&selection == 'exclusive' && has("gui_running") ? 1 : 0) else let firstLine = a:firstline let lastLine = a:lastline