aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-03-09 10:15:01 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-03-09 10:15:01 -0500
commitde33c9f00544485ebe34c0af94693a4c97053392 (patch)
tree5323b717ad1f3ee7865f974514444e4ce74dab36 /src/nvim/edit.c
parenta40a4e2431ccae5f2855df1ffdbf1c94de681886 (diff)
parent0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1 (diff)
downloadrneovim-de33c9f00544485ebe34c0af94693a4c97053392.tar.gz
rneovim-de33c9f00544485ebe34c0af94693a4c97053392.tar.bz2
rneovim-de33c9f00544485ebe34c0af94693a4c97053392.zip
Merge pull request #4409 from nhooyr/master
complete: disable folding when completing
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;