1
0
forked from aniani/vim

patch 8.1.1810: popup_getoptions() is missing an entry for "mapping"

Problem:    Popup_getoptions() is missing an entry for "mapping".
Solution:   Add the entry.
This commit is contained in:
Bram Moolenaar
2019-08-04 17:59:49 +02:00
parent a74e4946de
commit b8350abef0
3 changed files with 4 additions and 0 deletions

View File

@@ -2319,6 +2319,7 @@ f_popup_getoptions(typval_T *argvars, typval_T *rettv)
dict_add_string(dict, "title", wp->w_popup_title);
dict_add_number(dict, "wrap", wp->w_p_wrap);
dict_add_number(dict, "drag", (wp->w_popup_flags & POPF_DRAG) != 0);
dict_add_number(dict, "mapping", (wp->w_popup_flags & POPF_MAPPING) != 0);
dict_add_number(dict, "resize", (wp->w_popup_flags & POPF_RESIZE) != 0);
dict_add_number(dict, "cursorline",
(wp->w_popup_flags & POPF_CURSORLINE) != 0);