summaryrefslogtreecommitdiff
path: root/src/spell.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/spell.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/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/spell.c b/src/spell.c
index cf2efe87a..f6d7b2fe9 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -8763,7 +8763,6 @@ spell_to_word_end(char_u *start, win_T *win)
return p;
}
-#if defined(FEAT_INS_EXPAND) || defined(PROTO)
/*
* For Insert mode completion CTRL-X s:
* Find start of the word in front of column "startcol".
@@ -8833,6 +8832,5 @@ expand_spelling(
*matchp = ga.ga_data;
return ga.ga_len;
}
-#endif
#endif /* FEAT_SPELL */