aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2026-08-25 22:59:44 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2026-08-26 20:12:12 -0400
commitf88655b527aed3a64172ab74ecb69a3def18cbfc (patch)
tree03b665cbcb4d551902bf823a761792ba46c9056e /scripts/vim-patch.sh
parentc6ba487b89479301f71b06007b82e37cf8329095 (diff)
downloadrneovim-f88655b527aed3a64172ab74ecb69a3def18cbfc.tar.gz
rneovim-f88655b527aed3a64172ab74ecb69a3def18cbfc.tar.bz2
rneovim-f88655b527aed3a64172ab74ecb69a3def18cbfc.zip
build(vim-patch): v8.2.0922 is n/a
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 9b3a5fe3b4..2a6780790e 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -969,6 +969,14 @@ is_na_patch() {
"$patch" -- "${file}")
test -n "$HUNKS" && return 1
;;
+ src/testdir/*.vim)
+ HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \
+ "$patch" -- "${file}")
+ if test -n "$HUNKS"; then
+ HUNK_NUM_FINAL=$(echo "$HUNKS" | grep '^@@ .* @@' | sed 's/^@@ .* @@ //' | grep -cv -e '^func RunVimInTerminal(')
+ test "$HUNK_NUM_FINAL" -ne 0 && return 1
+ fi
+ ;;
*.h)
HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \
'-I^\s+$' \