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

committed by
Justin M. Keyes

parent
297973ab00
commit
44175224cc
@@ -3719,11 +3719,10 @@ static int ins_compl_get_exp(pos_T *ini)
|
||||
/* IObuf =~ "\k.* ", thus len >= 2 */
|
||||
if (p_js
|
||||
&& (IObuff[len - 2] == '.'
|
||||
|| (vim_strchr(p_cpo, CPO_JOINSP)
|
||||
== NULL
|
||||
&& (IObuff[len - 2] == '?'
|
||||
|| IObuff[len - 2] == '!'))))
|
||||
|| IObuff[len - 2] == '?'
|
||||
|| IObuff[len - 2] == '!')) {
|
||||
IObuff[len++] = ' ';
|
||||
}
|
||||
}
|
||||
/* copy as much as possible of the new word */
|
||||
if (tmp_ptr - ptr >= IOSIZE - len)
|
||||
|
Reference in New Issue
Block a user