summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2025-10-05 22:38:35 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2025-10-06 20:56:38 -0400
commited0f46af62808849f586949c59393655151abeb7 (patch)
tree336016862a0ba51d65a308c71ca28df56dfe1cf0 /scripts
parentfacde3dcbe6fd303a347276d27924b8754c43c42 (diff)
vim-patch:8.1.1978: the eval.c file is too big
Problem: The eval.c file is too big. Solution: Move filter() and map() to list.c. https://github.com/vim/vim/commit/1e1d30048e722906a13665bd6c3c24c87eb2fe25 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vim-patch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index b4fca3b015..2993e59b63 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -250,6 +250,10 @@ preprocess_patch() {
LC_ALL=C sed -Ee 's/( [ab]\/src\/nvim)\/evalfunc\.c/\1\/eval\/funcs.c/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ # Rename list.c to eval/list.c
+ LC_ALL=C sed -Ee 's/( [ab]\/src\/nvim)\/list\.c/\1\/eval\/list.c/g' \
+ "$file" > "$file".tmp && mv "$file".tmp "$file"
+
# Rename evalvars.c to eval/vars.c
LC_ALL=C sed -Ee 's/( [ab]\/src\/nvim)\/evalvars\.c/\1\/eval\/vars.c/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"