aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-01 13:22:52 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-01 13:22:52 -0500
commit442ad4bb6378f3d968b2a87e4a78bf420eea2bd8 (patch)
tree670b5c161def79e7c1941f2809c205c42d3bf874 /scripts/vim-patch.sh
parent5db836bbca66a5684fccc99efa0e6e9607e6c20b (diff)
downloadrneovim-442ad4bb6378f3d968b2a87e4a78bf420eea2bd8.tar.gz
rneovim-442ad4bb6378f3d968b2a87e4a78bf420eea2bd8.tar.bz2
rneovim-442ad4bb6378f3d968b2a87e4a78bf420eea2bd8.zip
fixup! rename: user_funcs -> userfunc
Diffstat (limited to 'scripts/vim-patch.sh')
-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 ed1726b6e1..551b8fb691 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -215,6 +215,10 @@ preprocess_patch() {
LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/evalfunc\.c/\1\/eval\/funcs\.c/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ # Rename userfunc.c to eval/userfunc.c
+ LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/userfunc\.c/\1\/eval\/userfunc\.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"