summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/vimpatch.lua
AgeCommit message (Collapse)AuthorFiles
2025-12-01feat(version): support multiple Vim versionsJan Edmund Lazo1
Group up to 15 vimpatch numbers in 1 line to guard against 'make formatc'. 1-liner for vim_versions, num_patches. Automate '*Version' to remove version.h macros. '-V1 -v' lists merged Vim versions.
2025-12-01feat(vim-patch.sh): -M lists all ported patchesJan Edmund Lazo1
Start from current "v:version". Exclude reverted patches. Normalize left-zero-pad patch numbers to avoid grep inverse pattern file like scripts/vim_na_regexp.txt. Track reverted patches in vimpatch_token_reverts.txt because no convention in git-log. TODO: Track patch numbers per v:version in version.c.
2025-01-09docs: misc #31867Justin M. Keyes1
2023-12-04build: enable lintlua for scripts/ dir #26391Justin M. Keyes1
Problem: We don't enable stylua for many Lua scripts. Automating code-style is an important tool for reducing time spent on accidental (non-essential) complexity. Solution: - Enable lintlua for `scripts/` directory. - Specify `call_parentheses = "Input"`, we should allow kwargs-style function invocations.
2022-10-21vim-patch: bump VIM_VERSION from 8.0 => 8.1 #20762Justin M. Keyes1
There are 6 remaining 8.0.x patches, tracked in: https://github.com/neovim/neovim/issues/5431
2021-09-19build(lint): check scripts/*.luaJustin M. Keyes1
2017-12-27vimpatch.lua: automate version.cJustin M. Keyes1
Invoke it like this: VIM_SOURCE_DIR=~/neovim/.vim-src/ nvim -i NONE -u NONE --headless +'luafile ./scripts/vimpatch.lua' +q