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
This commit is contained in:
Jan Edmund Lazo
2026-08-15 00:14:06 -04:00
parent d137073024
commit c7ee6af777

View File

@@ -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+<proto/' \
'-I^\s+\{"(popup|prop|sound)_[_a-z]+",.*f_(popup|prop|sound)_[_a-z]+},$' \
'-I^\s*(static)?\svoid$' \