diff options
| author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2026-09-18 07:18:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-18 07:18:30 -0400 |
| commit | 60a613a997c4fbd4b895f306b3b8dd9a9abf3249 (patch) | |
| tree | 4e16444bed312e98a8b23d1121201c28fe757b22 /scripts/vim-patch.sh | |
| parent | 9047ee1460ede5aa8b0f0807c15bb554f5dcb8f1 (diff) | |
| download | rneovim-60a613a997c4fbd4b895f306b3b8dd9a9abf3249.tar.gz rneovim-60a613a997c4fbd4b895f306b3b8dd9a9abf3249.tar.bz2 rneovim-60a613a997c4fbd4b895f306b3b8dd9a9abf3249.zip | |
build(vim-patch): n/a patches starting from v9.2.0198 #41952
* build(vim-patch): v9.2.0198 is n/a
* build(vim-patch): v9.2.0248 is almost auto n/a
Regex "[^\s]" does not work to detect hunk for js_decode() as N/A.
"[^[:space:]]" works as an improvement replacement
since Vim help files use tabs.
https://git-scm.com/docs/git-log#Documentation/git-log.txt---word-diff-regexregex
* build(vim-patch): v9.2.0316 is n/a
All "netbeans" files are N/A.
* build(vim-patch): add n/a tags from v9.2.0386
* build(vim-patch): v9.2.404 is n/a
* build(vim-patch): n/a tags from v9.2.0407
* build(vim-patch): v9.2.507 is n/a
Treat comments for unused error codes as N/A
because the rest of the patch can be N/A.
Vim9 keywords and error messages are N/A.
Automation can sort "src/errors.h"
and detect unused/unsupported error codes to sync with Vim's error.h .
Diffstat (limited to 'scripts/vim-patch.sh')
| -rwxr-xr-x | scripts/vim-patch.sh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 69c054cd57..6852907f18 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -939,17 +939,17 @@ is_na_patch() { for file in $FILES_REMAINING; do case ${file} in runtime/doc/*.txt | runtime/pack/dist/opt/*/doc/*.txt) - HUNKS=$(git -c core.attributesfile="$NVIM_SOURCE_DIR"/.gitattributes -c 'diff.helphelp.xfuncname=^.*\*[^*\s]+\*$' -C "${VIM_SOURCE_DIR}" \ + HUNKS=$(git -c core.attributesfile="$NVIM_SOURCE_DIR"/.gitattributes -c 'diff.helphelp.xfuncname=^.*\*[^*[:space:]]+\*$' -C "${VIM_SOURCE_DIR}" \ diff-tree --no-commit-id -r -b -U0 \ '-I^\s+$' \ '-I^=+$' \ '-I^Functions:\s~$' \ - '-I^\|:(export|import|redrawtabpanel)\|' \ '-I^\|(ch|popup)_[_a-z]+\(\)\|' \ '-I^popup_[_a-z]+\(' \ '-I\*\s+For Vim version [0-9]\.[0-9]\.\s+Last change: [0-9]+ [A-Z][a-z]+ [0-9]+' \ '-I compiled (with|without) .*\(\|.+\|\) feature\.$' \ '-I\{.+ (available|compiled) (with|without) .+\}' \ + '-I\|:(cscope|export|import|redrawtabpanel)\|' \ '-I\|52\.6\|' \ '-I\|channel-open-[^|]+\|' \ '-I\|comment-install\|' \ @@ -1014,7 +1014,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_|JSON-RPC|channel|job|popup|sound|terminal)' \ + '-I^\s*(//|/?\*).*\s([vV]im9|E[0-9]{,4} unused|E[0-9]{4} - |FEAT_|JSON-RPC|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|t)_[^_]' \ @@ -1029,11 +1029,12 @@ is_na_patch() { '-I^EXTERN type_T static_types\[' \ '-I^EXTERN type_T t_.* INIT[2-9]\(' \ '-I^EXTERN\swin_T\s+\*popup_dragwin' \ - '-I^EXTERN char e_(abstract|class|enum|interface|type)_' \ + '-I^EXTERN char e_(abstract|const|class|enum|final|interface|public|static|type)_' \ '-I^EXTERN char e_.*def_function' \ '-I^EXTERN char e_.*enddef' \ '-I^EXTERN char e_.*vim9' \ '-I^EXTERN char e_[_a-z]+_channel' \ + '-I^EXTERN char e_cannot_add(_redraw|)_listener_in_listener_callback' \ '-I^EXTERN char e_cannot_declare_.*variable_str' \ '-I^EXTERN char e_cannot_define_new_.+_as_static' \ '-I^EXTERN char e_cannot_listen_on_port' \ @@ -1042,15 +1043,18 @@ is_na_patch() { '-I^EXTERN char e_dictionary_not_set' \ '-I^EXTERN char e_dictnull' \ '-I^EXTERN char e_gethostbyname_in_channel_' \ - '-I\sINIT\(= .+"E[0-9]+: (Abstract|Class|Enum|Interface|Type) ' \ + '-I^EXTERN char e_invalid_identifier_in_defineannotype' \ + '-I\sINIT\(= .+"E[0-9]+: (Abstract|Const|Class|Enum|Final|Interface|Public|Static|Type) ' \ '-I\sINIT\(= .+"E[0-9]+: .*:def ' \ '-I\sINIT\(= .+"E[0-9]+: .*enddef"' \ '-I\sINIT\(= .+"E[0-9]+: .*([vV]im9|interface)' \ '-I\sINIT\(= .+"E[0-9]+: .* (ch|channel)_[_a-z]+\(\)' \ + '-I\sINIT\(= .+"E649: Invalid identifier name in defineAnnoType' \ '-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\sINIT\(= .+"E15[0-9]+: Cannot use .*listener_add in a .* listener callback"' \ '-I\sINIT\(= .+"E1551: Cannot open a popup window to a closing buffer' \ '-I\sINIT\(= .+"E157[34]: ' \ '-I\s(bool|char(|_u))\s+w_popup_image_[_a-zA-Z]+;' \ |