From 0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 4 Mar 2016 15:06:48 -0500 Subject: complete: disable folding when completing Fixes vim/vim#643 --- src/nvim/edit.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/nvim/edit.c') diff --git a/src/nvim/edit.c b/src/nvim/edit.c index beae55b8a8..3729cd5f2d 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -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; -- cgit