aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-01 12:13:33 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-01 12:17:39 -0500
commitff112478379274ecfab54ad4f981b88804948aca (patch)
tree0c8803d02d0bec65d7099b839ff63580b21f324b /scripts/vim-patch.sh
parentba1ff710782960a1be6ebe7342bb26a556f300fa (diff)
downloadrneovim-ff112478379274ecfab54ad4f981b88804948aca.tar.gz
rneovim-ff112478379274ecfab54ad4f981b88804948aca.tar.bz2
rneovim-ff112478379274ecfab54ad4f981b88804948aca.zip
fixup! refactor: move session functions to ex_session.c
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 8287958ab5..4bd490b8e6 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -211,6 +211,9 @@ preprocess_patch() {
LC_ALL=C sed -e 's/\( [ab]\/src\)/\1\/nvim/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/session\(\.[ch]\)/\1\/ex_session\2/g' \
+ "$file" > "$file".tmp && mv "$file".tmp "$file"
+
# Rename test_urls.vim to check_urls.vim
LC_ALL=C sed -e 's@\( [ab]\)/runtime/doc/test\(_urls.vim\)@\1/scripts/check\2@g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"