aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-05-25 10:31:32 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-05-26 07:47:00 +0800
commiteb623a1c45bab279e202b718f52543da92baaabd (patch)
tree7c22630c81f7dc0ab9313f63ae193db2c8100d74 /scripts/vim-patch.sh
parent6db3f3f62457ff99a763d912f42d6d66eea8b74a (diff)
downloadrneovim-eb623a1c45bab279e202b718f52543da92baaabd.tar.gz
rneovim-eb623a1c45bab279e202b718f52543da92baaabd.tar.bz2
rneovim-eb623a1c45bab279e202b718f52543da92baaabd.zip
docs: add missing termdebug docs from Vim runtime updates
https://github.com/vim/vim/commit/388a5d4f20b4b64341d1604aa238cab85827b892 https://github.com/vim/vim/commit/4466ad6baa22485abb1147aca3340cced4778a66 https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404 Rename terminal.txt to nvim_terminal_emulator.txt in vim-patch.sh.
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"