mirror of
https://github.com/neovim/neovim.git
synced 2026-07-31 04:39:07 +00:00
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.
19 lines
493 B
Plaintext
19 lines
493 B
Plaintext
*.h.in linguist-language=C
|
|
*.c.in linguist-language=C
|
|
*CMakeLists.txt linguist-language=CMake
|
|
|
|
runtime/doc/* linguist-documentation
|
|
runtime/doc/builtin.txt linguist-generated
|
|
|
|
# api.gen.lua, vimfn.gen.lua, etc.
|
|
runtime/lua/vim/_meta/*.gen.lua linguist-generated
|
|
|
|
src/xdiff/** linguist-vendored
|
|
src/cjson/** linguist-vendored
|
|
src/unicode/** linguist-vendored
|
|
|
|
.github/ export-ignore
|
|
|
|
runtime/doc/*.txt diff=helphelp
|
|
runtime/pack/dist/opt/*/doc/*.txt diff=helphelp
|