forked from aniani/vim
updated for version 7.0099
This commit is contained in:
@@ -2632,7 +2632,7 @@ ins_compl_next_buf(buf, flag)
|
||||
#ifdef FEAT_WINDOWS
|
||||
if (buf == curbuf) /* first call for this flag/expansion */
|
||||
wp = curwin;
|
||||
while ((wp = wp->w_next != NULL ? wp->w_next : firstwin) != curwin
|
||||
while ((wp = (wp->w_next != NULL ? wp->w_next : firstwin)) != curwin
|
||||
&& wp->w_buffer->b_scanned)
|
||||
;
|
||||
buf = wp->w_buffer;
|
||||
@@ -2644,7 +2644,7 @@ ins_compl_next_buf(buf, flag)
|
||||
/* 'b' (just loaded buffers), 'u' (just non-loaded buffers) or 'U'
|
||||
* (unlisted buffers)
|
||||
* When completing whole lines skip unloaded buffers. */
|
||||
while ((buf = buf->b_next != NULL ? buf->b_next : firstbuf) != curbuf
|
||||
while ((buf = (buf->b_next != NULL ? buf->b_next : firstbuf)) != curbuf
|
||||
&& ((flag == 'U'
|
||||
? buf->b_p_bl
|
||||
: (!buf->b_p_bl
|
||||
|
||||
@@ -8,7 +8,7 @@ void spell_reload __ARGS((void));
|
||||
void put_bytes __ARGS((FILE *fd, long_u nr, int len));
|
||||
void ex_mkspell __ARGS((exarg_T *eap));
|
||||
void ex_spell __ARGS((exarg_T *eap));
|
||||
void spell_add_word __ARGS((char_u *word, int len, int bad));
|
||||
void spell_add_word __ARGS((char_u *word, int len, int bad, int temp));
|
||||
void init_spell_chartab __ARGS((void));
|
||||
int spell_check_sps __ARGS((void));
|
||||
void spell_suggest __ARGS((void));
|
||||
|
||||
@@ -1182,7 +1182,7 @@ syn_stack_apply_changes(buf)
|
||||
prev = NULL;
|
||||
for (p = buf->b_sst_first; p != NULL; )
|
||||
{
|
||||
if (p->sst_lnum + syn_buf->b_syn_sync_linebreaks > buf->b_mod_top)
|
||||
if (p->sst_lnum + buf->b_syn_sync_linebreaks > buf->b_mod_top)
|
||||
{
|
||||
n = p->sst_lnum + buf->b_mod_xlines;
|
||||
if (n <= buf->b_mod_bot)
|
||||
|
||||
Reference in New Issue
Block a user