Files
neovim/scripts/vim_na_hunks_vim.txt
Jan Edmund Lazo 43a0258f55 build(vim-patch): detect N/A tags in vimhelp patches #40942
Vim patches for Vim help files must use Vim tags as diff hunk header
to reliably detect if a hunk is N/A or not.
Git does not know which files are Vim help files
so that it can use custom "diff.<filetype>.xfuncname" regexp
to create the header.

Update Neovim's gitattributes to detect Vim help files
and then use it on vim-patch.sh to scan Vim patches.
Add non-function tags from ":h vim_diff"
to detect N/A Vim runtime patches.
2026-07-25 12:16:03 -04:00

37 lines
1.0 KiB
Plaintext

^cscope_connection(.\+cscope_connection(
^js_decode(.\+js_decode(
^js_encode(.\+js_encode(
^json_decode(.\+json_decode(
^json_encode(.\+json_encode(
^err_teapot(.\+err_teapot(
^listener_[a-zA-Z0-9]\+(.\+listener_[a-zA-Z0-9]\+(
^redraw_listener_[a-zA-Z0-9]\+(.\+redraw_listener_[a-zA-Z0-9]\+(
^test_alloc_fail(.\+test_alloc_fail(
^test_autochdir(.\+test_autochdir(
^test_feedinput(.\+test_feedinput(
^test_garbagecollect_soon(.\+test_garbagecollect_soon(
^test_getvalue(.\+test_getvalue(
^test_ignore_error(.\+test_ignore_error(
^test_null_channel(.\+test_null_channel(
^test_null_job(.\+test_null_job(
^test_option_not_set(.\+test_option_not_set(
^test_override(.\+test_override(
^test_scrollbar(.\+test_scrollbar(
^test_setmouse(.\+test_setmouse(
^test_settime(.\+test_settime(
^test_srand_seed(.\+test_srand_seed(
^test_void(.\+test_void(
\*:Print\*
\*:Vimuntar\*
\*:behave\*
\*:fixdel\*
\*:helpfind\*
\*:open\*
\*:promptfind\*
\*:promptrepl\*
\*:scriptversion\*
\*:shell\*
\*:smile\*
\*test_gui_[a-zA-Z0-9_]\+()\*
\*patches-\(after-\)\?[0-9].*\*