comparison src/option.c @ 17771:4bd21046902b v8.1.1882

patch 8.1.1882: cannot specify properties of the info popup window commit https://github.com/vim/vim/commit/62a0cb443c3184f24a6dac73d3505f9056cf6056 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 18 16:35:23 2019 +0200 patch 8.1.1882: cannot specify properties of the info popup window Problem: Cannot specify properties of the info popup window. Solution: Add the 'completepopup' option. Default to PmenuSel highlight.
author Bram Moolenaar <Bram@vim.org>
date Sun, 18 Aug 2019 16:45:03 +0200
parents c75da1064e33
children 04245f071792
comparison
equal deleted inserted replaced
17770:eaa74e51248c 17771:4bd21046902b
889 (char_u *)&p_cot, PV_NONE, 889 (char_u *)&p_cot, PV_NONE,
890 {(char_u *)"menu,preview", (char_u *)0L} 890 {(char_u *)"menu,preview", (char_u *)0L}
891 #else 891 #else
892 (char_u *)NULL, PV_NONE, 892 (char_u *)NULL, PV_NONE,
893 {(char_u *)0L, (char_u *)0L} 893 {(char_u *)0L, (char_u *)0L}
894 #endif
895 SCTX_INIT},
896 {"completepopup", "cpp", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
897 #ifdef FEAT_TEXT_PROP
898 (char_u *)&p_cpp, PV_NONE,
899 {(char_u *)"", (char_u *)0L}
900 #else
901 (char_u *)NULL, PV_NONE,
902 {(char_u *)NULL, (char_u *)0L}
894 #endif 903 #endif
895 SCTX_INIT}, 904 SCTX_INIT},
896 {"completeslash", "csl", P_STRING|P_VI_DEF|P_VIM, 905 {"completeslash", "csl", P_STRING|P_VI_DEF|P_VIM,
897 #if defined(FEAT_INS_EXPAND) && defined(BACKSLASH_IN_FILENAME) 906 #if defined(FEAT_INS_EXPAND) && defined(BACKSLASH_IN_FILENAME)
898 (char_u *)&p_csl, PV_CSL, 907 (char_u *)&p_csl, PV_CSL,
7824 else if (varp == &p_pvp) 7833 else if (varp == &p_pvp)
7825 { 7834 {
7826 if (parse_previewpopup(NULL) == FAIL) 7835 if (parse_previewpopup(NULL) == FAIL)
7827 errmsg = e_invarg; 7836 errmsg = e_invarg;
7828 } 7837 }
7838 // 'completepopup'
7839 else if (varp == &p_cpp)
7840 {
7841 if (parse_completepopup(NULL) == FAIL)
7842 errmsg = e_invarg;
7843 }
7829 #endif 7844 #endif
7830 7845
7831 /* Options that are a list of flags. */ 7846 /* Options that are a list of flags. */
7832 else 7847 else
7833 { 7848 {