external pum: use floating point geometry; typval: add tv_dict_add_float

This commit is contained in:
Yatao Li
2020-03-03 18:17:37 +08:00
parent 9c85caa390
commit 6da16ac931
6 changed files with 68 additions and 36 deletions

View File

@@ -53,12 +53,12 @@ struct ui_t {
bool ui_ext[kUIExtCount]; ///< Externalized UI capabilities.
int width;
int height;
int pum_nlines; /// actual nr. lines shown in PUM
bool pum_pos; /// UI reports back pum position?
int pum_row;
int pum_col;
int pum_height;
int pum_width;
int pum_nlines; /// actual nr. lines shown in PUM
bool pum_pos; /// UI reports back pum position?
double pum_row;
double pum_col;
double pum_height;
double pum_width;
void *data;
#ifdef INCLUDE_GENERATED_DECLARATIONS