aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-12 14:39:47 +0800
committerGitHub <noreply@github.com>2022-08-12 14:39:47 +0800
commitd4f5e0db3c61a316013cc17739f6e8abc1c5907b (patch)
tree26815d394348a994820171a9cbc0f27678ff2e89 /scripts/vim-patch.sh
parent0d9e09bf670724caec9939a7165e25c4abc40291 (diff)
parenta93d29589ae1aab9f5fff11fccbe3ed14cb089ce (diff)
downloadrneovim-d4f5e0db3c61a316013cc17739f6e8abc1c5907b.tar.gz
rneovim-d4f5e0db3c61a316013cc17739f6e8abc1c5907b.tar.bz2
rneovim-d4f5e0db3c61a316013cc17739f6e8abc1c5907b.zip
Merge pull request #19733 from zeertzjq/vim-8.1.1684
vim-patch:8.1.{1684,1689}: profiling code is spread out
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 3825d9f0ea..505a88c55c 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -241,6 +241,10 @@ preprocess_patch() {
LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/map\(\.[ch]\)/\1\/mapping\2/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ # Rename profiler.c to profile.c
+ LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/profiler\(\.[ch]\)/\1\/profile\2/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"