mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.0111: VAR_SPECIAL is also used for booleans
Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking.
This commit is contained in:
@@ -1076,7 +1076,7 @@ pum_set_event_info(dict_T *dict)
|
||||
dict_add_number(dict, "row", pum_row);
|
||||
dict_add_number(dict, "col", pum_col);
|
||||
dict_add_number(dict, "size", pum_size);
|
||||
dict_add_special(dict, "scrollbar", pum_scrollbar ? VVAL_TRUE : VVAL_FALSE);
|
||||
dict_add_bool(dict, "scrollbar", pum_scrollbar ? VVAL_TRUE : VVAL_FALSE);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user