aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-01 13:18:29 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-01 13:21:33 -0500
commit5db836bbca66a5684fccc99efa0e6e9607e6c20b (patch)
tree43ca26c2a24b0f5e7533ed332f3a47b87695ea6b /scripts/vim-patch.sh
parent4b398413e46d604ec03e30875a46506988cdbbc0 (diff)
downloadrneovim-5db836bbca66a5684fccc99efa0e6e9607e6c20b.tar.gz
rneovim-5db836bbca66a5684fccc99efa0e6e9607e6c20b.tar.bz2
rneovim-5db836bbca66a5684fccc99efa0e6e9607e6c20b.zip
fixup! eval.c: factor out eval/funcs.c #11828
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 4bd490b8e6..ed1726b6e1 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -211,6 +211,11 @@ preprocess_patch() {
LC_ALL=C sed -e 's/\( [ab]\/src\)/\1\/nvim/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ # Rename evalfunc.c to eval/funcs.c
+ LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/evalfunc\.c/\1\/eval\/funcs\.c/g' \
+ "$file" > "$file".tmp && mv "$file".tmp "$file"
+
+ # Rename session.c to ex_session.c
LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/session\(\.[ch]\)/\1\/ex_session\2/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"