complete: disable folding when completing

Fixes vim/vim#643
This commit is contained in:
Anmol Sethi
2016-03-04 15:06:48 -05:00
parent 890ce792af
commit 0b468fd0cf
4 changed files with 14 additions and 4 deletions

View File

@@ -165,10 +165,6 @@ static int compl_restarting = FALSE; /* don't insert match */
* FALSE the word to be completed must be located. */
static int compl_started = FALSE;
/* Set when doing something for completion that may call edit() recursively,
* which is not allowed. */
static int compl_busy = FALSE;
static int compl_matches = 0;
static char_u *compl_pattern = NULL;
static int compl_direction = FORWARD;