diff options
author | KunMing Xie <qqzz014@gmail.com> | 2017-10-08 09:33:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 09:33:20 +0800 |
commit | 4b2592d7b6c295093b07ac2737658767c3e3377b (patch) | |
tree | 7b238e71c98398bb9433f0a48858c3ab3909be39 /scripts/vim-patch.sh | |
parent | f97ca6b3339ca04477296c834a159d40d2201ccd (diff) | |
parent | 032b088c848585e60e8dc1a210f240bad6bb3387 (diff) | |
download | rneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.tar.gz rneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.tar.bz2 rneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.zip |
Merge branch 'master' into vim-8.0.0131
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-x | scripts/vim-patch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 5ebb6a38b3..4f6bb40488 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -133,7 +133,7 @@ preprocess_patch() { # Remove *.proto, Make*, gui_*, some if_* 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*\<\%('${na_src}'\)@norm! d/\v(^diff)|%$
' +w +q "$file" + 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' |