summaryrefslogtreecommitdiff
path: root/src/change.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-21 14:37:09 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-21 14:37:09 +0200
commite2c453d38f6512ac4cff7cd26aa7780b4e2534d7 (patch)
tree8458a35d59ac43121bfd2d24d5e9f7f54969d0dc /src/change.c
parentd933c82ff4e2c910bd533ed9a50377699c3f5ec9 (diff)
downloadvim-git-e2c453d38f6512ac4cff7cd26aa7780b4e2534d7.tar.gz
patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901
Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
Diffstat (limited to 'src/change.c')
-rw-r--r--src/change.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/change.c b/src/change.c
index 23c95871e..ac2cc30be 100644
--- a/src/change.c
+++ b/src/change.c
@@ -1008,10 +1008,7 @@ ins_char_bytes(char_u *buf, int charlen)
// show the match for right parens and braces.
if (p_sm && (State & INSERT)
&& msg_silent == 0
-#ifdef FEAT_INS_EXPAND
- && !ins_compl_active()
-#endif
- )
+ && !ins_compl_active())
{
if (has_mbyte)
showmatch(mb_ptr2char(buf));