Merge #40971 from janlazo/vim-na-helphelp-tags-pt2

build(vim-patch): skip doc for n/a features
This commit is contained in:
Justin M. Keyes
2026-07-27 06:58:38 -04:00
committed by GitHub
3 changed files with 61 additions and 2 deletions

View File

@@ -927,7 +927,7 @@ 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=^.*\*[.a-zA-Z0-9\-]+\*$' -C "${VIM_SOURCE_DIR}" \
HUNKS=$(git -c core.attributesfile="$NVIM_SOURCE_DIR"/.gitattributes -c 'diff.helphelp.xfuncname=^.*\*[^*]+\*$' -C "${VIM_SOURCE_DIR}" \
diff-tree --no-commit-id -r -b -U0 \
'-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\.$' \

View File

@@ -21,6 +21,56 @@
^test_settime(.\+test_settime(
^test_srand_seed(.\+test_srand_seed(
^test_void(.\+test_void(
\*'aleph'\*
\*'antialias'\*
\*'balloon[a-z]\+'\*
\*'bioskey'\*
\*'compatible'\*
\*'conskey'\*
\*'cryptmethod'\*
\*'cscope[a-z]\+'\*
\*'edcompatible'\*
\*'esckeys'\*
\*'guifontset'\*
\*'guiheadroom'\*
\*'guiligatures'\*
\*'guipty'\*
\*'hkmap\(p\)\?'\*
\*'highlight'\*
\*'imactivatekey'\*
\*'imcmdline'\*
\*'imdisable'\*
\*'insertmode'\*
\*'keyprotocol'\*
\*'macatsui'\*
\*'maxmem'\*
\*'maxmemtot'\*
\*'opendevice'\*
\*'pastetoggle'\*
\*'print[a-z]\+'\*
\*'prompt'\*
\*'remap'\*
\*'restorescreen'\*
\*'shelltype'\*
\*'shortname'\*
\*'swapsync'\*
\*'t_.\+'\*
\*'termcap[a-zA-Z-]*'\*
\*'termencoding'\*
\*'terse'\*
\*'textauto'\*
\*'toolbar'\*
\*'toolbariconsize'\*
\*'ttybuiltin'\*
\*'ttymouse'\*
\*'ttyscroll'\*
\*'ttytype'\*
\*'weirdinvert'\*
\*'[a-z]\+dll'\*
\*--literal\*
\*--serverlist\*
\*--servername\*
\*-v\*
\*:Print\*
\*:Vimuntar\*
\*:behave\*
@@ -32,5 +82,13 @@
\*:scriptversion\*
\*:shell\*
\*:smile\*
\*test_gui_[a-zA-Z0-9_]\+()\*
\*HelpToc-mappings\*
\*SafeStateAgain\*
\*SigUSR1\*
\*builtin-function-list\*
\*emacs[_-]tags\*
\*help-toc-install\*
\*patches-\(after-\)\?[0-9].*\*
\*test_gui_[a-zA-Z0-9_]\+()\*
\*v:none\*
\*v:sizeof[a-z]\+\*

View File

@@ -96,6 +96,7 @@ _example\.vim$
/tags$
README_[a-z]\+\.txt$
[_.]cp125[0-1]
helptoc
netbeans
textprop
vimtutor