commit | c020042083b9c0a4e932b562c3bef97c76328e18 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Apr 20 12:02:02 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Apr 20 12:02:02 2016 +0200 |
tree | 7cce08cfbc07af7358de4de55c28fd7a6f1682d0 | |
parent | 8d8aa0a367380f23f0af428fcb66a1a0615bf872 [diff] [blame] |
patch 7.4.1753 Problem: "noinsert" in 'completeopt' is sometimes ignored. Solution: Set the variables when the 'completeopt' was set. (Ozaki Kiichi)
diff --git a/src/option.c b/src/option.c index 8a706af..348c37a 100644 --- a/src/option.c +++ b/src/option.c
@@ -6951,6 +6951,8 @@ { if (check_opt_strings(p_cot, p_cot_values, TRUE) != OK) errmsg = e_invarg; + else + completeopt_was_set(); } #endif /* FEAT_INS_EXPAND */