aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-11-04 22:59:39 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-11-05 22:45:48 +0100
commit2ee4ce0639d9c41f3c06eb03b46061d954e8ea28 (patch)
tree98c38e9d66b1069b3ec411e6e4db27a83283e1e9 /scripts/vim-patch.sh
parentf679abef3e518864b262f9e916c14ca6ff6ef4e4 (diff)
downloadrneovim-2ee4ce0639d9c41f3c06eb03b46061d954e8ea28.tar.gz
rneovim-2ee4ce0639d9c41f3c06eb03b46061d954e8ea28.tar.bz2
rneovim-2ee4ce0639d9c41f3c06eb03b46061d954e8ea28.zip
doc: merge sponsor.txt into intro.txt
Also mention how to donate to Nvim. closes #8603
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index de0d040b47..725863102a 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -149,8 +149,8 @@ preprocess_patch() {
local na_src='proto\|Make*\|gui_*\|if_lua\|if_mzsch\|if_olepp\|if_ole\|if_perl\|if_py\|if_ruby\|if_tcl\|if_xcmdsrv'
2>/dev/null $nvim --cmd 'set dir=/tmp' +'g@^diff --git a/src/\S*\<\%(testdir/\)\@<!\%('${na_src}'\)@norm! d/\v(^diff)|%$ ' +w +q "$file"
- # Remove channel.txt, netbeans.txt, os_*.txt, term.txt, todo.txt, version*.txt, tags
- local na_doc='channel\.txt\|netbeans\.txt\|os_\w\+\.txt\|term\.txt\|todo\.txt\|version\d\.txt\|tags'
+ # Remove unwanted Vim doc files.
+ local na_doc='channel\.txt\|netbeans\.txt\|os_\w\+\.txt\|term\.txt\|todo\.txt\|version\d\.txt\|sponsor\.txt\|intro\.txt\|tags'
2>/dev/null $nvim --cmd 'set dir=/tmp' +'g@^diff --git a/runtime/doc/\<\%('${na_doc}'\)\>@norm! d/\v(^diff)|%$ ' +w +q "$file"
# Remove "Last change ..." changes in doc files.