From 9744c76af0f5da01b04b4a39a381621ffe94a4ea Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 22 Aug 2026 22:19:41 -0400 Subject: [PATCH 1/4] build(vim-patch): v8.2.2331 is n/a Vim9script variable declaration via const/final --- scripts/vim-patch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 51a917c7f0..4d69b9341e 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -1002,6 +1002,7 @@ is_na_patch() { '-I\s(bool|char(|_u))\s+w_popup_image_[_a-zA-Z]+;' \ '-I\schar(|_u)\s+\*w_popup_title;' \ '-I\sint\s+ch_[_a-zA-Z]+;' \ + '-I\sint\s+sv_const;' \ '-I\sint\s+w_(filter_mode|firstline|popup_drag|want_scrollbar);' \ '-I\slist_T\s+\*w_popup_mask;' \ '-I\spopclose_T\sw_popup_close;' \ @@ -1034,6 +1035,7 @@ is_na_patch() { '-Icheck_typval_type\(.+\)' \ '-Icrypt_get_method_nr\(.+\)' \ '-I\spopup_set_firstline\(.+\);' \ + '-I\supdate_vim9_script_var\(.+\);$' \ '-I\svim_free\(.*w_popup_title\);' \ "$patch" -- "${file}") if test -n "$HUNKS"; then From 805bf3c81cd886cced71090a9d6d93064398f790 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 23 Aug 2026 02:39:18 -0400 Subject: [PATCH 2/4] build(vim-patch): v9.0.0627 is n/a --- scripts/vim-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 4d69b9341e..27fd8773b2 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -976,7 +976,7 @@ is_na_patch() { '-I^#\s*define\s+(FEAT|POPUPWIN|XDG|t)_[^_]' \ '-I^\s+(&&|\|\|)\s.*defined\(.*FEAT_[^_]' \ '-IEVENT_TERMINALWINOPEN' \ - '-I^#\s*define\s+POPF_CURSORLINE\s' \ + '-I^#\s*define\s+(ASSIGN_VAR|POPF_CURSORLINE)\s' \ '-I^typedef enum \{$' \ '-I^\s+POPCLOSE_[A-Z]+,?$' \ '-I^\} popclose_T;$' \ From 15f6b7a7f545e4504c04fc4d93cf8bde356e49f7 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 23 Aug 2026 22:11:30 -0400 Subject: [PATCH 3/4] build(vim-patch): vim9 uf_type_list is n/a From v8.2.0149 . Target v9.0.1605 . --- scripts/vim-patch.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 27fd8773b2..90429806e2 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -1017,7 +1017,7 @@ 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|E[0-9]{4} - |FEAT_|channel|job|popup|sound|terminal)' \ + '-I^\s*(//|/?\*).*\s([vV]im9|E[0-9]{4} - |FEAT_|channel|job|popup|sound|terminal|uf_type_list)' \ '-I^#\s*((ifdef|ifndef|undef)|(if|elif)\s.*defined\().*FEAT_[^_]' \ '-I^#\s*(else|endif)' \ '-I^#\s*define\s+(FEAT|POPUPWIN|XDG|t)_[^_]' \ @@ -1031,6 +1031,7 @@ is_na_patch() { '-I[.>]b_p_key' \ '-I[_.>]sc_version = ' \ '-I[_.>]uf_script_ctx_version = ' \ + '-I[_.>]uf_type_list' \ '-I = skip_type\(.+\);$' \ '-Icheck_typval_type\(.+\)' \ '-Icrypt_get_method_nr\(.+\)' \ From 50094679655981ef480f23d5ab0d060b2e31190b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 23 Aug 2026 22:26:38 -0400 Subject: [PATCH 4/4] build(vim-patch): v9.0.1760 is n/a --- scripts/vim-patch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 90429806e2..58b1c10324 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -990,6 +990,7 @@ is_na_patch() { '-I^EXTERN char e_.*vim9' \ '-I^EXTERN char e_cannot_declare_.*variable_str' \ '-I^EXTERN char e_cannot_define_new_.+_as_static' \ + '-I^EXTERN char e_cannot_use_a_return_type_with_new' \ '-I^EXTERN char e_dictionary_not_set' \ '-I^EXTERN char e_dictnull' \ '-I\sINIT\(= .+"E[0-9]+: (Abstract|Class|Enum|Interface|Type) ' \ @@ -998,6 +999,7 @@ is_na_patch() { '-I\sINIT\(= .+"E[0-9]+: .*([vV]im9|interface)' \ '-I\sINIT\(= .+"E1016: Cannot declare .* variable: ' \ '-I\sINIT\(= .+"E1103: Dictionary not set' \ + '-I\sINIT\(= .+"E1365: Cannot use a return type with the \\"new\\" function"' \ '-I\sINIT\(= .+"E1370: Cannot define a .+ as static' \ '-I\s(bool|char(|_u))\s+w_popup_image_[_a-zA-Z]+;' \ '-I\schar(|_u)\s+\*w_popup_title;' \