From c7ee6af777a9a0b1cd54817c646fe32fa7267c47 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 15 Aug 2026 00:14:06 -0400 Subject: [PATCH] build(vim-patch): v8.1.2219 is n/a Vim's TerminalWinOpen seems to be required because of Vim buffer-job-popupwin implementation. Based on the patch, I'm puzzled why fzf needs this on Vim. Nvim's TermOpen, TermEnter, and detection mechanisms to know if buffer is on a (active,visible) window should suffice to not port it. If there was a feature request or issue without a merged fix, then I can't find it. https://github.com/junegunn/fzf/pull/2000 --- scripts/vim-patch.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 970bfbc1b7..1ba230d9d4 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -962,10 +962,11 @@ is_na_patch() { HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \ '-I^\s+$' \ '-I^\s*/?\*/?$' \ - '-I^\s*(//|/?\*).*\s([vV]im9|channel|job|popup|sound)' \ + '-I^\s*(//|/?\*).*\s([vV]im9|channel|job|popup|sound|terminal)' \ '-I^#\s*((ifdef|ifndef|undef)|(if|elif)\s.*defined\().*FEAT_' \ '-I^#\s*(else|endif)' \ '-I^#\s*define\s+(FEAT|POPUPWIN|XDG)_' \ + '-IEVENT_TERMINALWINOPEN' \ '-I^#\s*define\s+POPF_CURSORLINE\s' \ '-I^typedef enum \{$' \ '-I^\s+POPCLOSE_[A-Z]+,?$' \ @@ -1003,10 +1004,11 @@ is_na_patch() { HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \ '-I^\s+$' \ '-I^\s*/?\*/?$' \ - '-I^\s*(//|/?\*).*\s([vV]im9|sound|terminal)' \ + '-I^\s*(//|/?\*).*\s([vV]im9|channel|job|popup|sound|terminal)' \ '-I^#\s*((ifdef|ifndef|undef)|(if|elif)\s.*defined\().*FEAT_' \ '-I^#\s*(else|endif)' \ '-I^#\s*define\s+(FEAT|POPUPWIN|XDG)_' \ + '-IEVENT_TERMINALWINOPEN' \ '-I^#\s*include\s+