aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-05-26 08:08:35 +0800
committerGitHub <noreply@github.com>2022-05-26 08:08:35 +0800
commitf246a929e7abec4aba00ceb68b1492f3be5877dc (patch)
treec66ddc32d212002cf4c6e08410049c75e7aac87e /scripts/vim-patch.sh
parent068fb748e18f7907e2e2b9363b009fe5f3288f02 (diff)
parentec48c6f236669e0c4d03db8bb2c1e011f1071f5e (diff)
downloadrneovim-f246a929e7abec4aba00ceb68b1492f3be5877dc.tar.gz
rneovim-f246a929e7abec4aba00ceb68b1492f3be5877dc.tar.bz2
rneovim-f246a929e7abec4aba00ceb68b1492f3be5877dc.zip
Merge pull request #18738 from zeertzjq/vim-8.2.5010
vim-patch:8.2.5010: the terminal debugger uses various global variables
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 e7e8f0b274..8235949156 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -243,6 +243,10 @@ preprocess_patch() {
LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/keymap\.h/\1\/keycodes.h/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ # Rename terminal.txt to nvim_terminal_emulator.txt
+ LC_ALL=C sed -e 's/\( [ab]\/runtime\/doc\)\/terminal\.txt/\1\/nvim_terminal_emulator.txt/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"