mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 21:38:19 +00:00
'cpoptions': Remove "j" flag
This commit is contained in:

committed by
Justin M. Keyes

parent
297973ab00
commit
44175224cc
@@ -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);
|
||||
|
Reference in New Issue
Block a user