summaryrefslogtreecommitdiff
path: root/src/spellsuggest.c
diff options
context:
space:
mode:
authorMartin Tournoij <martin@arp242.net>2022-10-13 22:12:15 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-13 22:12:15 +0100
commitba43e76fcd5b2da57dbaa4d9a555793fe8ac344e (patch)
tree46d248575c130e6c338dc0aac5f66eabe2c2fef4 /src/spellsuggest.c
parent856c5d2bc7c3864f8b63a0ab3e376d5c5e51f1d5 (diff)
downloadvim-git-ba43e76fcd5b2da57dbaa4d9a555793fe8ac344e.tar.gz
patch 9.0.0747: too many #ifdefsv9.0.0747
Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330)
Diffstat (limited to 'src/spellsuggest.c')
-rw-r--r--src/spellsuggest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/spellsuggest.c b/src/spellsuggest.c
index cc70ca736..97e89985b 100644
--- a/src/spellsuggest.c
+++ b/src/spellsuggest.c
@@ -702,9 +702,11 @@ spell_suggest(int count)
curwin->w_cursor.col = c;
changed_bytes(curwin->w_cursor.lnum, c);
+#if defined(FEAT_PROP_POPUP)
if (curbuf->b_has_textprop && len_diff != 0)
adjust_prop_columns(curwin->w_cursor.lnum, c, len_diff,
APC_SUBSTITUTE);
+#endif
}
}
else