summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-08-06 17:06:04 +0000
committerBram Moolenaar <Bram@vim.org>2008-08-06 17:06:04 +0000
commite37d50a5def1c0ff162392cd3f017059c458650c (patch)
treee7d1e2b17976b130d1283d33b091baf30cfc5d2c /src/edit.c
parentda40c8536c2b7bdbd1d192ee1aa3045e2119675e (diff)
downloadvim-git-e37d50a5def1c0ff162392cd3f017059c458650c.tar.gz
updated for version 7.2c-000v7.2c.000
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edit.c b/src/edit.c
index e04c720a1..714d32099 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3608,8 +3608,6 @@ ins_compl_prep(c)
inc_cursor();
}
- auto_format(FALSE, TRUE);
-
/* If the popup menu is displayed pressing CTRL-Y means accepting
* the selection without inserting anything. When
* compl_enter_selects is set the Enter key does the same. */
@@ -3630,6 +3628,8 @@ ins_compl_prep(c)
retval = TRUE;
}
+ auto_format(FALSE, TRUE);
+
ins_compl_free();
compl_started = FALSE;
compl_matches = 0;