diff options
Diffstat (limited to 'src/nvim/api/private/helpers.h')
| -rw-r--r-- | src/nvim/api/private/helpers.h | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/src/nvim/api/private/helpers.h b/src/nvim/api/private/helpers.h index a0f14ac7a4..7ed726c7ce 100644 --- a/src/nvim/api/private/helpers.h +++ b/src/nvim/api/private/helpers.h @@ -62,12 +62,10 @@  #define NIL ((Object) {.type = kObjectTypeNil})  #define PUT(dict, k, v)                                                       \ -  kv_push(KeyValuePair,                                                       \ -          dict,                                                               \ -          ((KeyValuePair) {.key = cstr_to_string(k), .value = v})) +  kv_push(dict, ((KeyValuePair) { .key = cstr_to_string(k), .value = v }))  #define ADD(array, item)                                                      \ -  kv_push(Object, array, item) +  kv_push(array, item)  #define STATIC_CSTR_AS_STRING(s) ((String) {.data = s, .size = sizeof(s) - 1}) | 
