aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorAnmol Sethi <anmol@aubble.com>2016-03-04 15:06:48 -0500
committerAnmol Sethi <anmol@aubble.com>2016-03-09 10:04:15 -0500
commit0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1 (patch)
tree58d75a91fdaaab43e989c41614eb32ed4944313d /src/nvim/edit.c
parent890ce792af102abe37f24f9674b5924b79fbfa27 (diff)
downloadrneovim-0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1.tar.gz
rneovim-0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1.tar.bz2
rneovim-0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1.zip
complete: disable folding when completing
Fixes vim/vim#643
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c4
1 files changed, 0 insertions, 4 deletions
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;