diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-18 13:04:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-18 13:04:15 +0200 |
commit | 558813314d63dd0263a7a86c0496c1e89b5c8cba (patch) | |
tree | 7ebfbe1f61edc2bfb5fc82f354bf6f7cae5391ec /src/proto/dict.pro | |
parent | f39397e515067d5a314be99778e63fe0acf93c51 (diff) |
patch 8.2.1478: Vim9: cannot use "true" for some popup optionsv8.2.1478
Problem: Vim9: cannot use "true" for some popup options.
Solution: Add dict_get_bool(). (closes #6725)
Diffstat (limited to 'src/proto/dict.pro')
-rw-r--r-- | src/proto/dict.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/dict.pro b/src/proto/dict.pro index 093139f429..3b6638440d 100644 --- a/src/proto/dict.pro +++ b/src/proto/dict.pro @@ -31,6 +31,7 @@ char_u *dict_get_string(dict_T *d, char_u *key, int save); varnumber_T dict_get_number(dict_T *d, char_u *key); varnumber_T dict_get_number_def(dict_T *d, char_u *key, int def); varnumber_T dict_get_number_check(dict_T *d, char_u *key); +varnumber_T dict_get_bool(dict_T *d, char_u *key, int def); char_u *dict2string(typval_T *tv, int copyID, int restore_copyID); int eval_dict(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int literal); void dict_extend(dict_T *d1, dict_T *d2, char_u *action); |