diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-07-10 18:18:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-07-10 18:18:40 +0200 |
commit | b6be1e2390485ff314022d2b7ce0307e42d7e2a6 (patch) | |
tree | 825fb32e5957ad9d5e7cb1f1652d2344e40eb6c3 /src/option.c | |
parent | 42a4512f62322fcc12c0071037161d2079d98ba5 (diff) | |
download | vim-b6be1e2390485ff314022d2b7ce0307e42d7e2a6.zip |
patch 7.4.775
Problem: It is not possible to avoid using the first item of completion.
Solution: Add the "noinsert" and "noselect" values to 'completeopt'. (Shougo
Matsu)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 69c6bf402..046a63f3f 100644 --- a/src/option.c +++ b/src/option.c @@ -3054,7 +3054,7 @@ static char *(p_fdm_values[]) = {"manual", "expr", "marker", "indent", "syntax", static char *(p_fcl_values[]) = {"all", NULL}; #endif #ifdef FEAT_INS_EXPAND -static char *(p_cot_values[]) = {"menu", "menuone", "longest", "preview", NULL}; +static char *(p_cot_values[]) = {"menu", "menuone", "longest", "preview", "noinsert", "noselect", NULL}; #endif static void set_option_default __ARGS((int, int opt_flags, int compatible)); |