aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-10-13 15:05:07 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-11-12 12:36:40 -0500
commit59ded3ef29b1fa532bc2afa30c857deffc9c20ef (patch)
tree361302a58ec9d12abbfb20d833862b19d5ce3fca /scripts/vim-patch.sh
parentdec38601c5af8a5b52087926c387cfa71faaaeb1 (diff)
downloadrneovim-59ded3ef29b1fa532bc2afa30c857deffc9c20ef.tar.gz
rneovim-59ded3ef29b1fa532bc2afa30c857deffc9c20ef.tar.bz2
rneovim-59ded3ef29b1fa532bc2afa30c857deffc9c20ef.zip
vim-patch: add matchit doc
matchit doc is named 'pi_matchit.txt'.
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index c16956b0b9..11305421e5 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -179,6 +179,8 @@ preprocess_patch() {
# Rename path to matchit plugin.
LC_ALL=C sed -e 's@\( [ab]/runtime\)/pack/dist/opt/matchit/\(plugin/matchit.vim\)@\1/\2@g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ LC_ALL=C sed -e 's@\( [ab]/runtime\)/pack/dist/opt/matchit/doc/\(matchit.txt\)@\1/doc/pi_\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' \