aboutsummaryrefslogtreecommitdiff
path: root/scripts/lintcommit.lua
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-12-06 20:50:29 +0000
committerzeertzjq <zeertzjq@outlook.com>2022-01-31 17:38:45 +0800
commitd746f5aa418f86828aef689a2c4f8d5b53c9f7de (patch)
tree7367709069bdea893e58ba979e5a2e68e00883e1 /scripts/lintcommit.lua
parent2870311a37314135b73e0ee54b41da86c9540a39 (diff)
downloadrneovim-d746f5aa418f86828aef689a2c4f8d5b53c9f7de.tar.gz
rneovim-d746f5aa418f86828aef689a2c4f8d5b53c9f7de.tar.bz2
rneovim-d746f5aa418f86828aef689a2c4f8d5b53c9f7de.zip
feat(eval): partially port v8.2.0878
Problem: No reduce() function. Solution: Add a reduce() function. (closes vim/vim#5481) https://github.com/vim/vim/commit/85629985b71035608a37ba3bde86968481490d46 Needs CHECK_LIST_MATERIALIZE from v8.2.0751 (and range_list_materialize from 8.2.0149). Move e_reduceempty to funcs.c, as it's only used there. Make it static. Use tv_blob_len, tv_list_len == 0 for empty checks. Replace vim_memset(&funcexe, 0, ...) with FUNCEXE_INIT. Leave li initially undefined (tv_list_first returns NULL if list is NULL). This patch has a memory leak fixed by v8.2.0882.
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions