diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-27 21:01:03 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-27 21:01:03 -0400 |
commit | 2d5520fb256b281e7e32cb48f106e205fc494d76 (patch) | |
tree | b2fa138be8c954a7cc1b846ce6c51014bcc668a8 /src/nvim/option.c | |
parent | 6bb4b9f57f5011db0c895370e00f2351422a2c25 (diff) | |
parent | e57238a644cf24f3130caf7d557a081bbd89df4a (diff) | |
download | rneovim-2d5520fb256b281e7e32cb48f106e205fc494d76.tar.gz rneovim-2d5520fb256b281e7e32cb48f106e205fc494d76.tar.bz2 rneovim-2d5520fb256b281e7e32cb48f106e205fc494d76.zip |
Merge pull request #4622 from Shougo/vim-7.4.1753
vim-patch:7.4.1753
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index b255d47c18..df271e9eb5 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2958,8 +2958,11 @@ did_set_string_option ( } /* 'completeopt' */ else if (varp == &p_cot) { - if (check_opt_strings(p_cot, p_cot_values, TRUE) != OK) + if (check_opt_strings(p_cot, p_cot_values, true) != OK) { errmsg = e_invarg; + } else { + completeopt_was_set(); + } } /* 'pastetoggle': translate key codes like in a mapping */ else if (varp == &p_pt) { |