'cpoptions': Remove "j" flag

This commit is contained in:
David Bürgin
2015-05-01 15:25:48 +02:00
committed by Justin M. Keyes
parent 297973ab00
commit 44175224cc
6 changed files with 12 additions and 21 deletions

View File

@@ -3460,12 +3460,10 @@ int do_join(long count,
endcurr1 = endcurr2;
else
++spaces[t];
/* extra space when 'joinspaces' set and line ends in '.' */
if ( p_js
&& (endcurr1 == '.'
|| (vim_strchr(p_cpo, CPO_JOINSP) == NULL
&& (endcurr1 == '?' || endcurr1 == '!'))))
// Extra space when 'joinspaces' set and line ends in '.', '?', or '!'.
if (p_js && (endcurr1 == '.' || endcurr1 == '?' || endcurr1 == '!')) {
++spaces[t];
}
}
}
currsize = (int)STRLEN(curr);